Commit 8cfe80ee authored by Shane Snyder's avatar Shane Snyder
Browse files

Merge branch 'gkl/issue277' into 'master'

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

Closes #277

See merge request !66
parents 6119f8a0 abd86aad
...@@ -778,7 +778,10 @@ static void *darshan_init_mmap_log(struct darshan_core_runtime* core, int jobid) ...@@ -778,7 +778,10 @@ static void *darshan_init_mmap_log(struct darshan_core_runtime* core, int jobid)
(void)gethostname(hname, sizeof(hname)); (void)gethostname(hname, sizeof(hname));
logmod = darshan_hash((void*)hname,strlen(hname),hlevel); 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 /* construct a unique temporary log file name for this process
* to write mmap log data to * to write mmap log data to
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment