summaryrefslogtreecommitdiffstats
path: root/testpar/t_bigio.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2019-01-06 04:31:42 (GMT)
committerM. Scot Breitenfeld <brtnfld@hdfgroup.org>2019-01-07 22:55:59 (GMT)
commitfed17ed3838d2cf73f8848c9d340a9139c0c02dc (patch)
tree32ff8b32b33a2947c27cbff5a05baee35c23d58b /testpar/t_bigio.c
parent5dfe00629588a54dbfb6f2d09dfbd88177e37cc2 (diff)
downloadhdf5-fed17ed3838d2cf73f8848c9d340a9139c0c02dc.zip
hdf5-fed17ed3838d2cf73f8848c9d340a9139c0c02dc.tar.gz
hdf5-fed17ed3838d2cf73f8848c9d340a9139c0c02dc.tar.bz2
HDFFV-10625 -- Implemented a process-0 read and then broadcast for collective read of full (HS_ALL), contiguous, atomic datasets by all the processes in the file communicator.
Diffstat (limited to 'testpar/t_bigio.c')
-rw-r--r--testpar/t_bigio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testpar/t_bigio.c b/testpar/t_bigio.c
index fdd3488..1d882b8 100644
--- a/testpar/t_bigio.c
+++ b/testpar/t_bigio.c
@@ -671,7 +671,7 @@ dataset_big_write(void)
/* create a memory dataspace independently */
mem_dataspace = H5Screate_simple (RANK, dims, NULL);
VRFY((mem_dataspace >= 0), "");
- if(!mpi_rank == 0) {
+ if(mpi_rank != 0) {
ret = H5Sselect_none(mem_dataspace);
VRFY((ret >= 0), "H5Sset_none succeeded");
}
@@ -980,7 +980,7 @@ dataset_big_read(void)
/* create a memory dataspace independently */
mem_dataspace = H5Screate_simple (RANK, dims, NULL);
VRFY((mem_dataspace >= 0), "");
- if(!mpi_rank == 0) {
+ if(mpi_rank != 0) {
ret = H5Sselect_none(mem_dataspace);
VRFY((ret >= 0), "H5Sset_none succeeded");
}