[Darshan-commits] [Git][darshan/darshan][master] 2 commits: support compilation with --without-mpi and --enable-mmap-logs

Shane Snyder xgitlab at cels.anl.gov
Thu Nov 5 15:44:07 CST 2020



Shane Snyder pushed to branch master at darshan / darshan


Commits:
abd86aad by Glenn K. Lockwood at 2020-11-05T15:44:04-06:00
support compilation with --without-mpi and --enable-mmap-logs

- - - - -
8cfe80ee by Shane Snyder at 2020-11-05T15:44:04-06:00
Merge branch 'gkl/issue277' into 'master'

support compilation with --without-mpi and --enable-mmap-logs

Closes #277

See merge request darshan/darshan!66
- - - - -


1 changed file:

- darshan-runtime/lib/darshan-core.c


Changes:

=====================================
darshan-runtime/lib/darshan-core.c
=====================================
@@ -778,7 +778,10 @@ static void *darshan_init_mmap_log(struct darshan_core_runtime* core, int jobid)
         (void)gethostname(hname, sizeof(hname));
         logmod = darshan_hash((void*)hname,strlen(hname),hlevel);
     }
-    PMPI_Bcast(&logmod, 1, MPI_UINT64_T, 0, core->mpi_comm);
+#ifdef HAVE_MPI
+    if(using_mpi)
+        PMPI_Bcast(&logmod, 1, MPI_UINT64_T, 0, core->mpi_comm);
+#endif
 
     /* construct a unique temporary log file name for this process
      * to write mmap log data to



View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/-/compare/6119f8a0b9b12b53b9d66054511d2833bd284db2...8cfe80ee8ac03b5bac544e1f4ed284b42bd0ffa4

-- 
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/-/compare/6119f8a0b9b12b53b9d66054511d2833bd284db2...8cfe80ee8ac03b5bac544e1f4ed284b42bd0ffa4
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/20201105/2a636263/attachment.html>


More information about the Darshan-commits mailing list