summaryrefslogtreecommitdiffstats
path: root/testpar/testphdf5.c
diff options
context:
space:
mode:
authorGlenn Song <43005495+glennsong09@users.noreply.github.com>2023-10-24 17:51:55 (GMT)
committerGitHub <noreply@github.com>2023-10-24 17:51:55 (GMT)
commitea1714b3035b9de6cac885508c9f4d882c817b3f (patch)
tree9a34f4118e3850cbe138c5e01046eb5bbe0a0d60 /testpar/testphdf5.c
parent1900cc63eb14a240ce988a0cd99d1e6babd528f1 (diff)
downloadhdf5-ea1714b3035b9de6cac885508c9f4d882c817b3f.zip
hdf5-ea1714b3035b9de6cac885508c9f4d882c817b3f.tar.gz
hdf5-ea1714b3035b9de6cac885508c9f4d882c817b3f.tar.bz2
Fix H5Pset_evict_on_close failing regardless of actual parallel use (#3761)
Allow H5Pset_evict_on_close to be called regardless of whether a parallel build of HDF5 is being used Fail during file opens if H5Pset_evict_on_close has been set to true on the given File Access Property List and the size of the MPI communicator being used is greater than 1
Diffstat (limited to 'testpar/testphdf5.c')
-rw-r--r--testpar/testphdf5.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c
index 2d85e1a..2428c71 100644
--- a/testpar/testphdf5.c
+++ b/testpar/testphdf5.c
@@ -366,6 +366,9 @@ main(int argc, char **argv)
AddTest("invlibverassert", test_invalid_libver_bounds_file_close_assert, NULL,
"Invalid libver bounds assertion failure", PARATESTFILE);
+ AddTest("evictparassert", test_evict_on_close_parallel_unsupp, NULL, "Evict on close in parallel failure",
+ PARATESTFILE);
+
AddTest("idsetw", dataset_writeInd, NULL, "dataset independent write", PARATESTFILE);
AddTest("idsetr", dataset_readInd, NULL, "dataset independent read", PARATESTFILE);