[Darshan-commits] [Git][darshan/darshan][master] 2 commits: properly use runtime checks when not using MPI

Shane Snyder xgitlab at cels.anl.gov
Mon Jun 8 14:19:00 CDT 2020



Shane Snyder pushed to branch master at darshan / darshan


Commits:
6520802b by Shane Snyder at 2020-06-08T14:17:20-05:00
properly use runtime checks when not using MPI

Fixes #281

- - - - -
55a2259b by Shane Snyder at 2020-06-08T14:18:57-05:00
Merge branch 'dev-fix-non-mpi-issue281' into 'master'

properly use runtime checks when not using MPI

Closes #281

See merge request darshan/darshan!59
- - - - -


1 changed file:

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


Changes:

=====================================
darshan-runtime/lib/darshan-core.c
=====================================
@@ -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)



View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/compare/c1348603c79d372be8353272f5c0b18ecffe37c6...55a2259b04ed8f668aa9ffc9898ebc6ade50434a

-- 
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/compare/c1348603c79d372be8353272f5c0b18ecffe37c6...55a2259b04ed8f668aa9ffc9898ebc6ade50434a
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/20200608/ff3055f9/attachment.html>


More information about the Darshan-commits mailing list