From 67752623922540abbc3bbe3e0f58489420301be0 Mon Sep 17 00:00:00 2001 From: Rohit Goswami Date: Sun, 11 Oct 2026 10:37:56 -0500 Subject: [PATCH 1/2] Rebuild x86_64/generic SciPy-bundle 2026.05 with numpy cpu-baseline=none The numpy 2.4.6 in the x86_64/generic SciPy-bundle has an x86-64-v2 baseline and refuses to import on CPUs that lack it. Rebuild it with the cpu-baseline hook in place, for `x86_64/generic` only. --- ...4.0-SciPy-bundle-numpy-generic-cpu-baseline.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 easystacks/software.eessi.io/2026.06/rebuilds/20261011-eb-5.4.0-SciPy-bundle-numpy-generic-cpu-baseline.yml diff --git a/easystacks/software.eessi.io/2026.06/rebuilds/20261011-eb-5.4.0-SciPy-bundle-numpy-generic-cpu-baseline.yml b/easystacks/software.eessi.io/2026.06/rebuilds/20261011-eb-5.4.0-SciPy-bundle-numpy-generic-cpu-baseline.yml new file mode 100644 index 0000000000..38ce031e1f --- /dev/null +++ b/easystacks/software.eessi.io/2026.06/rebuilds/20261011-eb-5.4.0-SciPy-bundle-numpy-generic-cpu-baseline.yml @@ -0,0 +1,14 @@ +# 2026.10.11 +# numpy 2.4 raised its default x86-64 cpu-baseline to x86-64-v2 (SSSE3, SSE4.1, SSE4.2, POPCNT, ...), +# so the numpy in the x86_64/generic installation refuses to import on CPUs that only have x86-64 (SSE2): +# "NumPy was built with baseline optimizations: (X86_V2) but your machine doesn't support: (...)" +# numpy is now built with cpu-baseline=none for x86_64/generic by the pre_single_extension_numpy +# hook in https://github.com/EESSI/software-layer-scripts (eb_hooks.py); +# the dispatched code paths for x86-64-v2 and newer are still selected at runtime. +# Only the x86_64/generic installation needs to be rebuilt, so only build this for that target +# (arch:x86_64/generic). +easyconfigs: + - SciPy-bundle-2026.05-gfbf-2026.1.eb: + options: + # same easyconfig as the current installation + from-commit: 3dd90510b931c9a40af18df1d9bed75e1a1dc8e0 From 0ea960bad93bd64d26582327ba686c532e1b2e43 Mon Sep 17 00:00:00 2001 From: Rohit Goswami Date: Tue, 3 Nov 2026 10:46:28 -0600 Subject: [PATCH 2/2] Use the NumPy easyblock fix for the generic SciPy-bundle rebuild The rebuild needs numpy built with cpu-baseline=none on x86_64/generic. easybuild-easyblocks#4277 does that in the NumPy easyblock when optarch is GENERIC on x86-64. Pull that easyblock in with include-easyblocks-from-commit until it is in an EasyBuild release. This drops the dependence on the software-layer-scripts hook. --- ...011-eb-5.4.0-SciPy-bundle-numpy-generic-cpu-baseline.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/easystacks/software.eessi.io/2026.06/rebuilds/20261011-eb-5.4.0-SciPy-bundle-numpy-generic-cpu-baseline.yml b/easystacks/software.eessi.io/2026.06/rebuilds/20261011-eb-5.4.0-SciPy-bundle-numpy-generic-cpu-baseline.yml index 38ce031e1f..ead8764b99 100644 --- a/easystacks/software.eessi.io/2026.06/rebuilds/20261011-eb-5.4.0-SciPy-bundle-numpy-generic-cpu-baseline.yml +++ b/easystacks/software.eessi.io/2026.06/rebuilds/20261011-eb-5.4.0-SciPy-bundle-numpy-generic-cpu-baseline.yml @@ -2,8 +2,8 @@ # numpy 2.4 raised its default x86-64 cpu-baseline to x86-64-v2 (SSSE3, SSE4.1, SSE4.2, POPCNT, ...), # so the numpy in the x86_64/generic installation refuses to import on CPUs that only have x86-64 (SSE2): # "NumPy was built with baseline optimizations: (X86_V2) but your machine doesn't support: (...)" -# numpy is now built with cpu-baseline=none for x86_64/generic by the pre_single_extension_numpy -# hook in https://github.com/EESSI/software-layer-scripts (eb_hooks.py); +# The numpy easyblock from https://github.com/easybuilders/easybuild-easyblocks/pull/4277 builds numpy +# with cpu-baseline=none when optarch is GENERIC on x86-64; # the dispatched code paths for x86-64-v2 and newer are still selected at runtime. # Only the x86_64/generic installation needs to be rebuilt, so only build this for that target # (arch:x86_64/generic). @@ -12,3 +12,5 @@ easyconfigs: options: # same easyconfig as the current installation from-commit: 3dd90510b931c9a40af18df1d9bed75e1a1dc8e0 + # see https://github.com/easybuilders/easybuild-easyblocks/pull/4277 + include-easyblocks-from-commit: 2175241d6aac881dfb3589a07e27e811d332c5c3