summaryrefslogtreecommitdiffstats
path: root/examples/h5dsm_dset_wpartial.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2016-12-13 17:54:34 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2016-12-13 17:54:34 (GMT)
commit669b89ba0defe95e8948cb4917ed071d74932749 (patch)
treefc1289f0cc40d20775b4b137ad5247ada07c8b46 /examples/h5dsm_dset_wpartial.c
parent3889eeb5c86376fa677d48c8156584435f5cea66 (diff)
downloadhdf5-669b89ba0defe95e8948cb4917ed071d74932749.zip
hdf5-669b89ba0defe95e8948cb4917ed071d74932749.tar.gz
hdf5-669b89ba0defe95e8948cb4917ed071d74932749.tar.bz2
Split H5VLdaosm.h into public and private headers, to remove the need
for the application to include daos.h. Fix bugs in examples.
Diffstat (limited to 'examples/h5dsm_dset_wpartial.c')
-rw-r--r--examples/h5dsm_dset_wpartial.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/h5dsm_dset_wpartial.c b/examples/h5dsm_dset_wpartial.c
index 8d08d60..d6ede96 100644
--- a/examples/h5dsm_dset_wpartial.c
+++ b/examples/h5dsm_dset_wpartial.c
@@ -75,7 +75,11 @@ int main(int argc, char *argv[]) {
printf("\n");
}
- printf("Transaction number = %llu\n", (long long unsigned)(trans_num + 1));
+ if(rank == 0)
+ MPI_Barrier(MPI_COMM_WORLD);
+ else
+ printf("Transaction number = %llu\n", (long long unsigned)(trans_num + 1));
+
/* Set up dataspaces */
if((file_space = H5Screate_simple(2, dims, NULL)) < 0)