[Darshan-commits] [Git][darshan/darshan][dev-no-mpi] MPI guards in darshan-dynamic.h

Philip Carns xgitlab at cels.anl.gov
Tue Aug 6 10:25:41 CDT 2019



Philip Carns pushed to branch dev-no-mpi at darshan / darshan


Commits:
b4bbc85a by Phil Carns at 2019-08-06T15:25:28Z
MPI guards in darshan-dynamic.h

- - - - -


1 changed file:

- darshan-runtime/darshan-dynamic.h


Changes:

=====================================
darshan-runtime/darshan-dynamic.h
=====================================
@@ -12,6 +12,7 @@
 #define DARSHAN_EXTERN_DECL(name,ret,args) \
   extern ret (*__real_ ## name)args;
 
+#ifdef HAVE_MPI
 DARSHAN_EXTERN_DECL(PMPI_File_close, int, (MPI_File *fh));
 DARSHAN_EXTERN_DECL(PMPI_File_iread_at, int, (MPI_File fh, MPI_Offset offset, void *buf, int count, MPI_Datatype datatype, __D_MPI_REQUEST *request));
 DARSHAN_EXTERN_DECL(PMPI_File_iread, int, (MPI_File fh, void  *buf, int  count, MPI_Datatype  datatype, __D_MPI_REQUEST  *request));
@@ -131,6 +132,7 @@ DARSHAN_EXTERN_DECL(PMPI_Gather, int, (const void *sendbuf, int sendcount, MPI_D
 DARSHAN_EXTERN_DECL(PMPI_Gather, int, (void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm));
 #endif
 DARSHAN_EXTERN_DECL(PMPI_Barrier, int, (MPI_Comm comm));
+#endif /* HAVE_MPI */
 
 #endif
 



View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/commit/b4bbc85a9da9a9780e7568c2db90180c83ef47a2

-- 
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/commit/b4bbc85a9da9a9780e7568c2db90180c83ef47a2
You're receiving this email because of your account on xgitlab.cels.anl.gov.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-commits/attachments/20190806/9056d2e5/attachment-0001.html>


More information about the Darshan-commits mailing list