From 91c7c2426095913666d62c053164a3fa635b199c Mon Sep 17 00:00:00 2001 From: Bernhard Kaindl <43588962+bernhardkaindl@users.noreply.github.com> Date: Fri, 5 Nov 2021 14:59:45 +0100 Subject: hdf5: Skip racy test cases(which loop endless on many cores) (#27068) --- var/spack/repos/builtin/packages/hdf5/package.py | 7 +++++++ 1 file changed, 7 insertions(+) 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. -- cgit v1.2.3-70-g09d2