summaryrefslogtreecommitdiffstats
path: root/testpar/t_dset.c
diff options
context:
space:
mode:
Diffstat (limited to 'testpar/t_dset.c')
-rw-r--r--testpar/t_dset.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/testpar/t_dset.c b/testpar/t_dset.c
index 6e18453..4c74d8d 100644
--- a/testpar/t_dset.c
+++ b/testpar/t_dset.c
@@ -326,7 +326,9 @@ if ((mpi_rank/2)*2 != mpi_rank){
H5P_DEFAULT, data_array1);
VRFY((ret >= 0), "H5Dwrite dataset1 by ZROW succeeded");
}
+#ifdef BARRIER_CHECKS
MPI_Barrier(MPI_COMM_WORLD);
+#endif /* BARRIER_CHECKS */
/* release dataspace ID */
H5Sclose(file_dataspace);