From 9818b0f526f94b26770517198c86c914988b7029 Mon Sep 17 00:00:00 2001 From: Thomas Roeblitz Date: Tue, 8 Apr 2025 12:36:29 +0200 Subject: [PATCH 1/3] {2023.06}[2022b,grace] apps originally built with EB 4.9.0 --- .../grace/eessi-2023.06-eb-4.9.4-2022b.yml | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/easystacks/software.eessi.io/2023.06/grace/eessi-2023.06-eb-4.9.4-2022b.yml b/easystacks/software.eessi.io/2023.06/grace/eessi-2023.06-eb-4.9.4-2022b.yml index b6ddd50f84..eab29fea51 100644 --- a/easystacks/software.eessi.io/2023.06/grace/eessi-2023.06-eb-4.9.4-2022b.yml +++ b/easystacks/software.eessi.io/2023.06/grace/eessi-2023.06-eb-4.9.4-2022b.yml @@ -37,3 +37,53 @@ easyconfigs: # easyconfigs (via EB 4.9.4) didn't work, and wasn't done for any of the other # supported CPU microarchitectures. Hence, we build QE with 4.8.2 # - QuantumESPRESSO-7.2-foss-2022b.eb +# +# from here on built originally with EB 4.9.0 +# includes dependencies Boost/1.81.0 and Boost.MPI/1.81.0 for which we have to +# use updated easyconfigs (via from-commit) because the download URLs have +# changed +# +# originally built with EB 4.9.0, PR 20298 was included since 4.9.2 and no more +# updates to it since then +# - Highway-1.0.3-GCCcore-12.2.0.eb: +# options: +# from-pr: 20298 + - Highway-1.0.3-GCCcore-12.2.0.eb + - SciPy-bundle-2023.02-gfbf-2022b.eb +# Boost-1.81.0-GCC-12.2.0.eb is a dependency for GDAL and the sources URL for Boost +# has recently changed by PR 22157 +# see https://github.com/easybuilders/easybuild-easyconfigs/pull/22157 + - Boost-1.81.0-GCC-12.2.0.eb: + options: + from-commit: 5bebccf792ccf35a8ee3250bc8fed86dff5d5df9 + - GDAL-3.6.2-foss-2022b.eb +# originally built with EB 4.9.0, PR 19324 was included since 4.9.1; there were a +# few additional changes to the easyconfig, hence we use the merge commit for 19324 +# - waLBerla-6.1-foss-2022b.eb: +# options: +# from-pr: 19324 +# Boost.MPI-1.81.0-gompi-2022b.eb is a dependency for waLBerla and the sources URL for +# Boost.MPI has recently changed by PR 22240 +# see https://github.com/easybuilders/easybuild-easyconfigs/pull/22240 + - Boost.MPI-1.81.0-gompi-2022b.eb: + options: + from-commit: e610fe1ac5393d1de668a466fdaaea74c580ee03 + - waLBerla-6.1-foss-2022b.eb: + options: + from-commit: 11daa230014b22387c28712d2ce93c45618058f6 + - WRF-4.4.1-foss-2022b-dmpar.eb +# originally built with EB 4.9.0, PR 20086 was included since 4.9.1; there were a +# few additional changes to the easyconfig, hence we use the merge commit for 20086 +# - ImageMagick-7.1.0-53-GCCcore-12.2.0.eb: +# options: +# from-pr: 20086 + - ImageMagick-7.1.0-53-GCCcore-12.2.0.eb: + options: + from-commit: a0eff4515ecad4fe37d7c018c95526ad4a777de7 +# originally built with EB 4.9.0, PR 20238 was included since 4.9.1; there were +# additional changes, particularly addressing CVE 2024-27322 that was included +# since EB 4.9.2, hence we simply use the easyconfig available with EB 4.9.4 +# - R-4.2.2-foss-2022b.eb: +# options: +# from-pr: 20238 + - R-4.2.2-foss-2022b.eb From e476faf34758626ec09b7f1ea5cb030b40c471b5 Mon Sep 17 00:00:00 2001 From: Thomas Roeblitz Date: Tue, 8 Apr 2025 17:28:52 +0200 Subject: [PATCH 2/3] skip some tests building Highway/1.0.3 on NVIDIA Grace --- eb_hooks.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/eb_hooks.py b/eb_hooks.py index 2a6315fe14..544b1ba462 100644 --- a/eb_hooks.py +++ b/eb_hooks.py @@ -749,10 +749,17 @@ def pre_test_hook_exclude_failing_test_Highway(self, *args, **kwargs): """ Pre-test hook for Highway: exclude failing TestAllShiftRightLanes/SVE_256 test on neoverse_v1 cfr. https://github.com/EESSI/software-layer/issues/469 + and exclude failing tests + HwyReductionTestGroup/HwyReductionTest.TestAllSumOfLanes/SVE2_128 + HwyReductionTestGroup/HwyReductionTest.TestAllSumOfLanes/SVE2 + HwyReductionTestGroup/HwyReductionTest.TestAllSumOfLanes/SVE + on nvidia/grace """ cpu_target = get_eessi_envvar('EESSI_SOFTWARE_SUBDIR') if self.name == 'Highway' and self.version in ['1.0.3'] and cpu_target == CPU_TARGET_NEOVERSE_V1: self.cfg['runtest'] += ' ARGS="-E TestAllShiftRightLanes/SVE_256"' + if self.name == 'Highway' and self.version in ['1.0.3'] and cpu_target == CPU_TARGET_NVIDIA_GRACE: + self.cfg['runtest'] += ' ARGS="-E TestAllSumOfLanes"' def pre_test_hook_ignore_failing_tests_ESPResSo(self, *args, **kwargs): From 4151b6bc8806b4fdee7c121d9500412ddb8a84a8 Mon Sep 17 00:00:00 2001 From: Thomas Roeblitz Date: Tue, 8 Apr 2025 19:18:50 +0200 Subject: [PATCH 3/3] tolerate failing tests for SciPy-bundle-2023.02 on NVIDIA Grace --- eb_hooks.py | 50 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/eb_hooks.py b/eb_hooks.py index 544b1ba462..a98a12c0eb 100644 --- a/eb_hooks.py +++ b/eb_hooks.py @@ -802,12 +802,60 @@ def pre_test_hook_ignore_failing_tests_SciPybundle(self, *args, **kwargs): FAILED scipy/optimize/tests/test_linprog.py::TestLinprogIPSparse::test_bug_6139 FAILED scipy/optimize/tests/test_linprog.py::TestLinprogIPSparsePresolve::test_bug_6139 = 2 failed, 54876 passed, 3021 skipped, 223 xfailed, 13 xpassed in 581.85s (0:09:41) = + In version 2023.02 on grace, 46 failing tests in scipy (versions 1.10.1): + FAILED ../../linalg/tests/test_basic.py::TestOverwrite::test_pinv - RuntimeWa... + FAILED ../../linalg/tests/test_basic.py::TestOverwrite::test_pinvh - RuntimeW... + FAILED ../../linalg/tests/test_matfuncs.py::TestExpM::test_2x2_input - Runtim... + FAILED ../../optimize/tests/test_linprog.py::TestLinprogIPSparse::test_bug_6139 + FAILED ../../optimize/tests/test_linprog.py::TestLinprogIPSparsePresolve::test_bug_6139 + FAILED ../../optimize/tests/test_zeros.py::test_gh_9608_preserve_array_shape + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_asymmetric_laplacian[True-True-True-coo_matrix-float32] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_asymmetric_laplacian[True-True-False-array-float32] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_asymmetric_laplacian[True-True-False-csr_matrix-float32] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_asymmetric_laplacian[True-True-False-coo_matrix-float32] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_asymmetric_laplacian[False-True-True-array-float32] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_asymmetric_laplacian[False-True-True-csr_matrix-float32] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_asymmetric_laplacian[False-True-True-coo_matrix-float32] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_asymmetric_laplacian[True-True-True-array-float32] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_format[function-True-False-True-float32-asarray] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_asymmetric_laplacian[False-True-False-array-float32] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_asymmetric_laplacian[True-True-True-csr_matrix-float32] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_format[function-True-False-True-float32-csr_matrix] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_format[function-True-True-True-float32-asarray] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_format[function-True-True-True-float32-csr_matrix] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_format[function-True-False-True-float32-coo_matrix] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_asymmetric_laplacian[False-True-False-csr_matrix-float32] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_format[function-True-True-True-float32-coo_matrix] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_format[lo-True-False-True-float32-asarray] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_format[function-False-False-True-float32-asarray] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_format[function-False-False-True-float32-csr_matrix] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_format[function-False-False-True-float32-coo_matrix] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_asymmetric_laplacian[False-True-False-coo_matrix-float32] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_format[lo-True-False-True-float32-csr_matrix] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_format[lo-True-False-True-float32-coo_matrix] + FAILED ../../sparse/linalg/_eigen/lobpcg/tests/test_lobpcg.py::test_tolerance_float32 + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_format[lo-True-True-True-float32-asarray] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_format[lo-False-False-True-float32-asarray] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_format[lo-False-False-True-float32-csr_matrix] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_format[lo-False-False-True-float32-coo_matrix] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_format[lo-True-True-True-float32-csr_matrix] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_format[lo-True-True-True-float32-coo_matrix] + FAILED ../../sparse/linalg/_eigen/lobpcg/tests/test_lobpcg.py::test_random_initial_float32 + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_format[function-False-True-True-float32-asarray] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_format[function-False-True-True-float32-csr_matrix] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_format[function-False-True-True-float32-coo_matrix] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_format[lo-False-True-True-float32-asarray] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_format[lo-False-True-True-float32-csr_matrix] + FAILED ../../sparse/csgraph/tests/test_graph_laplacian.py::test_format[lo-False-True-True-float32-coo_matrix] + FAILED ../../sparse/linalg/_isolve/tests/test_iterative.py::test_precond_dummy + FAILED ../../sparse/linalg/_eigen/arpack/tests/test_arpack.py::test_symmetric_modes + = 46 failed, 49971 passed, 2471 skipped, 231 xfailed, 11 xpassed in 65.91s (0:01:05) = (in previous versions we were not as strict yet on the numpy/SciPy tests) """ cpu_target = get_eessi_envvar('EESSI_SOFTWARE_SUBDIR') scipy_bundle_versions_nv1 = ('2021.10', '2023.02', '2023.07', '2023.11') scipy_bundle_versions_a64fx = ('2023.07', '2023.11') - scipy_bundle_versions_nvidia_grace = ('2023.07', '2023.11') + scipy_bundle_versions_nvidia_grace = ('2023.02', '2023.07', '2023.11') if self.name == 'SciPy-bundle': if cpu_target == CPU_TARGET_NEOVERSE_V1 and self.version in scipy_bundle_versions_nv1: self.cfg['testopts'] = "|| echo ignoring failing tests"