[Darshan-commits] [Git][darshan/darshan][master] eliminate possible shutdown timing skew

Shane Snyder xgitlab at cels.anl.gov
Tue Jun 21 09:00:54 CDT 2016


Shane Snyder pushed to branch master at darshan / darshan


Commits:
c68b00a9 by Shane Snyder at 2016-06-21T08:58:35-05:00
eliminate possible shutdown timing skew

- - - - -


1 changed file:

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


Changes:

=====================================
darshan-runtime/lib/darshan-core.c
=====================================
--- a/darshan-runtime/lib/darshan-core.c
+++ b/darshan-runtime/lib/darshan-core.c
@@ -349,6 +349,8 @@ void darshan_core_shutdown()
     if(getenv("DARSHAN_INTERNAL_TIMING"))
         internal_timing_flag = 1;
 
+    /* synchronize before getting start time */
+    DARSHAN_MPI_CALL(PMPI_Barrier)(MPI_COMM_WORLD);
     start_log_time = DARSHAN_MPI_CALL(PMPI_Wtime)();
 
     /* disable darhan-core while we shutdown */



View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/commit/c68b00a9087a64aab6547a4d66f6d81eb990174d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-commits/attachments/20160621/b57d8b17/attachment.html>


More information about the Darshan-commits mailing list