Commit 55a2259b authored by Shane Snyder's avatar Shane Snyder

Merge branch 'dev-fix-non-mpi-issue281' into 'master'

properly use runtime checks when not using MPI

Closes #281

See merge request !59
parents c1348603 6520802b
......@@ -2036,7 +2036,8 @@ static void darshan_core_cleanup(struct darshan_core_runtime* core)
#endif
#ifdef HAVE_MPI
PMPI_Comm_free(&core->mpi_comm);
if(using_mpi)
PMPI_Comm_free(&core->mpi_comm);
#endif
if(core->comp_buf)
......
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