Commit 2178526f authored by Shane Snyder's avatar Shane Snyder
Browse files

bug fix: shared records not being removed

parent 57ffa711
...@@ -484,7 +484,7 @@ static void hdf5_mpi_redux( ...@@ -484,7 +484,7 @@ static void hdf5_mpi_redux(
} }
else else
{ {
hdf5_rec_count -= shared_rec_count; hdf5_runtime->file_rec_count -= shared_rec_count;
} }
PMPI_Type_free(&red_type); PMPI_Type_free(&red_type);
......
...@@ -1662,7 +1662,7 @@ static void mpiio_mpi_redux( ...@@ -1662,7 +1662,7 @@ static void mpiio_mpi_redux(
} }
else else
{ {
mpiio_rec_count -= shared_rec_count; mpiio_runtime->file_rec_count -= shared_rec_count;
} }
PMPI_Type_free(&red_type); PMPI_Type_free(&red_type);
......
...@@ -439,7 +439,7 @@ static void pnetcdf_mpi_redux( ...@@ -439,7 +439,7 @@ static void pnetcdf_mpi_redux(
} }
else else
{ {
pnetcdf_rec_count -= shared_rec_count; pnetcdf_runtime->file_rec_count -= shared_rec_count;
} }
PMPI_Type_free(&red_type); PMPI_Type_free(&red_type);
......
...@@ -2166,7 +2166,7 @@ static void posix_mpi_redux( ...@@ -2166,7 +2166,7 @@ static void posix_mpi_redux(
} }
else else
{ {
posix_rec_count -= shared_rec_count; posix_runtime->file_rec_count -= shared_rec_count;
} }
PMPI_Type_free(&red_type); PMPI_Type_free(&red_type);
......
...@@ -1415,7 +1415,7 @@ static void stdio_mpi_redux( ...@@ -1415,7 +1415,7 @@ static void stdio_mpi_redux(
} }
else else
{ {
stdio_rec_count -= shared_rec_count; stdio_runtime->file_rec_count -= shared_rec_count;
} }
PMPI_Type_free(&red_type); PMPI_Type_free(&red_type);
......
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