summaryrefslogtreecommitdiffstats
path: root/perform
diff options
context:
space:
mode:
Diffstat (limited to 'perform')
-rw-r--r--perform/perf_meta.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/perform/perf_meta.c b/perform/perf_meta.c
index f50b07d..9609b62 100644
--- a/perform/perf_meta.c
+++ b/perform/perf_meta.c
@@ -807,7 +807,11 @@ main(int argc, char **argv)
if(facc_type == FACC_DEFAULT || facc_type == FACC_MPIO)
H5Pset_fapl_mpio(fapl, MPI_COMM_WORLD, MPI_INFO_NULL);
else if(facc_type == FACC_MPIPOSIX)
+#ifdef H5_WANT_H5_V1_4_COMPAT
+ H5Pset_fapl_mpiposix(fapl, MPI_COMM_WORLD);
+#else /* H5_WANT_H5_V1_4_COMPAT */
H5Pset_fapl_mpiposix(fapl, MPI_COMM_WORLD, FALSE);
+#endif /* H5_WANT_H5_V1_4_COMPAT */
#endif /*H5_HAVE_PARALLEL*/
}