Commit abd86aad authored by Glenn K. Lockwood's avatar Glenn K. Lockwood Committed by Shane Snyder
Browse files

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

parent 6119f8a0
......@@ -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
......
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