summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--release_docs/RELEASE.txt5
-rw-r--r--testpar/t_dset.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt
index 21a64c6..ef3bda0 100644
--- a/release_docs/RELEASE.txt
+++ b/release_docs/RELEASE.txt
@@ -411,6 +411,11 @@ Bug Fixes since HDF5-1.10.3 release
Testing
-------
+ - Fixed a test failure in testpar/t_dset.c caused by
+ the test trying to use the parallel filters feature
+ on MPI-2 implementations.
+
+ (JTH, 2019/2/7)
Bug Fixes since HDF5-1.10.2 release
==================================
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");