summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorJordan Henderson <jhenderson@hdfgroup.org>2019-02-07 20:31:32 (GMT)
committerJordan Henderson <jhenderson@hdfgroup.org>2019-02-07 20:31:32 (GMT)
commit28b9af4f28df6c0e4f7fbf1ce4a0f50e1797b4d3 (patch)
treeb1ac46c90570d68b1479f2834db74ea9972766be /testpar
parent865e35ea01731ab1f49187468f590cd0136ef78b (diff)
downloadhdf5-28b9af4f28df6c0e4f7fbf1ce4a0f50e1797b4d3.zip
hdf5-28b9af4f28df6c0e4f7fbf1ce4a0f50e1797b4d3.tar.gz
hdf5-28b9af4f28df6c0e4f7fbf1ce4a0f50e1797b4d3.tar.bz2
Fix test issue in testpar/t_dset.c with MPI-2 implementations
Diffstat (limited to 'testpar')
-rw-r--r--testpar/t_dset.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/testpar/t_dset.c b/testpar/t_dset.c
index 35501d8..d4e556d 100644
--- a/testpar/t_dset.c
+++ b/testpar/t_dset.c
@@ -2659,8 +2659,10 @@ compress_readAll(void)
nerrors++;
}
+#if MPI_VERSION >= 3
ret = H5Dwrite(dataset, H5T_NATIVE_INT, H5S_ALL, H5S_ALL, xfer_plist, data_read);
VRFY((ret >= 0), "H5Dwrite succeeded");
+#endif
ret = H5Pclose(xfer_plist);
VRFY((ret >= 0), "H5Pclose succeeded");