[Darshan-commits] [Git][darshan/darshan][master] bug fix: shared records not being removed

Shane Snyder xgitlab at cels.anl.gov
Wed Dec 11 11:54:35 CST 2019



Shane Snyder pushed to branch master at darshan / darshan


Commits:
2178526f by Shane Snyder at 2019-12-11T17:54:13Z
bug fix: shared records not being removed

- - - - -


5 changed files:

- darshan-runtime/lib/darshan-hdf5.c
- darshan-runtime/lib/darshan-mpiio.c
- darshan-runtime/lib/darshan-pnetcdf.c
- darshan-runtime/lib/darshan-posix.c
- darshan-runtime/lib/darshan-stdio.c


Changes:

=====================================
darshan-runtime/lib/darshan-hdf5.c
=====================================
@@ -484,7 +484,7 @@ static void hdf5_mpi_redux(
     }
     else
     {
-        hdf5_rec_count -= shared_rec_count;
+        hdf5_runtime->file_rec_count -= shared_rec_count;
     }
 
     PMPI_Type_free(&red_type);


=====================================
darshan-runtime/lib/darshan-mpiio.c
=====================================
@@ -1662,7 +1662,7 @@ static void mpiio_mpi_redux(
     }
     else
     {
-        mpiio_rec_count -= shared_rec_count;
+        mpiio_runtime->file_rec_count -= shared_rec_count;
     }
 
     PMPI_Type_free(&red_type);


=====================================
darshan-runtime/lib/darshan-pnetcdf.c
=====================================
@@ -439,7 +439,7 @@ static void pnetcdf_mpi_redux(
     }
     else
     {
-        pnetcdf_rec_count -= shared_rec_count;
+        pnetcdf_runtime->file_rec_count -= shared_rec_count;
     }
 
     PMPI_Type_free(&red_type);


=====================================
darshan-runtime/lib/darshan-posix.c
=====================================
@@ -2166,7 +2166,7 @@ static void posix_mpi_redux(
     }
     else
     {
-        posix_rec_count -= shared_rec_count;
+        posix_runtime->file_rec_count -= shared_rec_count;
     }
 
     PMPI_Type_free(&red_type);


=====================================
darshan-runtime/lib/darshan-stdio.c
=====================================
@@ -1415,7 +1415,7 @@ static void stdio_mpi_redux(
     }
     else
     {
-        stdio_rec_count -= shared_rec_count;
+        stdio_runtime->file_rec_count -= shared_rec_count;
     }
 
     PMPI_Type_free(&red_type);



View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/commit/2178526ff9412090d9ed9c77de1e83f0540d51b8

-- 
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/commit/2178526ff9412090d9ed9c77de1e83f0540d51b8
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/20191211/e052c75f/attachment-0001.html>


More information about the Darshan-commits mailing list