summaryrefslogtreecommitdiffstats
path: root/examples/h5dsm_dset_r1m.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2017-04-24 20:58:36 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2017-04-24 20:58:36 (GMT)
commit8b5d9eb00e003ea5ec9d39f6fb42f6d9a88fe6c8 (patch)
tree8daea68e40ed7ecc32f8ad84e458613c18d7530e /examples/h5dsm_dset_r1m.c
parentdeaec79e06806d404e15abdf8c5449b28d465cb7 (diff)
downloadhdf5-8b5d9eb00e003ea5ec9d39f6fb42f6d9a88fe6c8.zip
hdf5-8b5d9eb00e003ea5ec9d39f6fb42f6d9a88fe6c8.tar.gz
hdf5-8b5d9eb00e003ea5ec9d39f6fb42f6d9a88fe6c8.tar.bz2
Add support for collective group create and open, using
H5Pset_all_coll_metadata_ops. Improved file create/open using this code. Modified examples to use this feature. Other minor fixes/cleanup.
Diffstat (limited to 'examples/h5dsm_dset_r1m.c')
-rw-r--r--examples/h5dsm_dset_r1m.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/h5dsm_dset_r1m.c b/examples/h5dsm_dset_r1m.c
index 4f1899c..ff92bcb 100644
--- a/examples/h5dsm_dset_r1m.c
+++ b/examples/h5dsm_dset_r1m.c
@@ -32,6 +32,8 @@ int main(int argc, char *argv[]) {
ERROR;
if(H5Pset_fapl_daosm(fapl, MPI_COMM_WORLD, MPI_INFO_NULL) < 0)
ERROR;
+ if(H5Pset_all_coll_metadata_ops(fapl, true) < 0)
+ ERROR;
/* Open snapshot if specified */
if(argc == 5) {