summaryrefslogtreecommitdiffstats
path: root/testpar/testphdf5.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2015-12-14 19:53:31 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2015-12-14 19:53:31 (GMT)
commit2824e6bef0f9ea6550845f75ad4580349eafb822 (patch)
treeebabf264dc9e68fd6c6eb59442c7bee709415569 /testpar/testphdf5.c
parent7a0cdfbbacc86aa73e91dedc4d89e3e59214d50a (diff)
downloadhdf5-2824e6bef0f9ea6550845f75ad4580349eafb822.zip
hdf5-2824e6bef0f9ea6550845f75ad4580349eafb822.tar.gz
hdf5-2824e6bef0f9ea6550845f75ad4580349eafb822.tar.bz2
[svn-r28649] - add new API to toggle collective metadata write.
- set default to FALSE - fix some bugs.
Diffstat (limited to 'testpar/testphdf5.c')
-rw-r--r--testpar/testphdf5.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c
index b652ef4..7ab479d 100644
--- a/testpar/testphdf5.c
+++ b/testpar/testphdf5.c
@@ -272,7 +272,9 @@ create_faccess_plist(MPI_Comm comm, MPI_Info info, int l_facc_type)
/* set Parallel access with communicator */
ret = H5Pset_fapl_mpio(ret_pl, comm, info);
VRFY((ret >= 0), "");
- ret = H5Pset_coll_metadata_read(ret_pl, 1);
+ ret = H5Pset_coll_metadata_read(ret_pl, true);
+ VRFY((ret >= 0), "");
+ ret = H5Pset_coll_metadata_write(ret_pl, true);
VRFY((ret >= 0), "");
return(ret_pl);
}