summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorBernhard Kaindl <43588962+bernhardkaindl@users.noreply.github.com>2021-11-05 14:59:45 +0100
committerGitHub <noreply@github.com>2021-11-05 09:59:45 -0400
commit91c7c2426095913666d62c053164a3fa635b199c (patch)
treea2130b3d30eaf3b656850940684ddbf7d703b71b /var
parent42d8e9eeb5c99805d99d8214d127b243a59da787 (diff)
downloadspack-91c7c2426095913666d62c053164a3fa635b199c.tar.gz
spack-91c7c2426095913666d62c053164a3fa635b199c.tar.bz2
spack-91c7c2426095913666d62c053164a3fa635b199c.tar.xz
spack-91c7c2426095913666d62c053164a3fa635b199c.zip
hdf5: Skip racy test cases(which loop endless on many cores) (#27068)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/hdf5/package.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hdf5/package.py b/var/spack/repos/builtin/packages/hdf5/package.py
index 48c05308cc..26db199cd9 100644
--- a/var/spack/repos/builtin/packages/hdf5/package.py
+++ b/var/spack/repos/builtin/packages/hdf5/package.py
@@ -174,6 +174,13 @@ class Hdf5(CMakePackage):
'INTEGER(SIZE_T), INTENT(OUT) :: buf_size',
'fortran/src/H5Fff_F03.f90',
string=True, ignore_absent=True)
+ if self.run_tests:
+ # hdf5 has ~2200 CPU-intensive tests, some of them have races:
+ # Often, these loop endless(at least on one Xeon and one EPYC).
+ # testphdf5 fails indeterministic. This fixes finishing the tests
+ filter_file('REMOVE_ITEM H5P_TESTS',
+ 'REMOVE_ITEM H5P_TESTS t_bigio t_shapesame testphdf5',
+ 'testpar/CMakeTests.cmake')
# The parallel compiler wrappers (i.e. h5pcc, h5pfc, etc.) reference MPI
# compiler wrappers and do not need to be changed.