Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D darshan
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 72
    • Issues 72
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • darshan
  • darshan
  • Issues
  • #287

Closed
Open
Created Oct 19, 2020 by Shane Snyder@ssnyderOwner

HDF5 module will not build in non-MPI mode

abadiel @ 41r100-pcf-0001 : /tmp/darshan-3.2.1/darshan-runtime $ make
gcc -DDARSHAN_CONFIG_H=\"darshan-runtime-config.h\" -I . -I. -I./../ -g -O2 -I/opt/codac/hdf5/include  -D_LARGEFILE64_SOURCE -shared -fpic -DPIC -DDARSHAN_PRELOAD -c lib/darshan-hdf5.c -o lib/darshan-hdf5.po
lib/darshan-hdf5.c: In function ‘H5Fcreate’:
lib/darshan-hdf5.c:177:27: error: ‘MPI_COMM_WORLD’ undeclared (first use in this function)
             MPI_Comm_rank(MPI_COMM_WORLD, &my_rank);
                           ^
lib/darshan-hdf5.c:177:27: note: each undeclared identifier is reported only once for each function it appears in
lib/darshan-hdf5.c: In function ‘H5Fopen’:
lib/darshan-hdf5.c:236:27: error: ‘MPI_COMM_WORLD’ undeclared (first use in this function)
             MPI_Comm_rank(MPI_COMM_WORLD, &my_rank);
                           ^
make: *** [lib/darshan-hdf5.po] Error 1

Reported by Lana Abadie.

Assignee
Assign to
Time tracking