From f34c2c7e3b5fde0f0813cfbe29c1b88f42693160 Mon Sep 17 00:00:00 2001 From: julianmorillo Date: Mon, 2 Feb 2026 16:42:03 +0100 Subject: [PATCH 1/3] Reduce the level of parallelism when building SciPy-bundle (for RISC-V) --- eb_hooks.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/eb_hooks.py b/eb_hooks.py index 2165e248..94138159 100644 --- a/eb_hooks.py +++ b/eb_hooks.py @@ -41,6 +41,8 @@ CPU_TARGET_SAPPHIRE_RAPIDS = 'x86_64/intel/sapphirerapids' CPU_TARGET_ZEN4 = 'x86_64/amd/zen4' +CPU_TARGET_RISCV64_GENERIC = 'riscv64/generic' + EESSI_RPATH_OVERRIDE_ATTR = 'orig_rpath_override_dirs' EESSI_MODULE_ONLY_ATTR = 'orig_module_only' EESSI_FORCE_ATTR = 'orig_force' @@ -1940,4 +1942,9 @@ def set_maximum(parallel, max_value): CPU_TARGET_NEOVERSE_N1: (divide_by_factor, 2), CPU_TARGET_NEOVERSE_V1: (divide_by_factor, 2), }, + # found problems with the number of opened files in the test phase with + # ulimit -n = 2048 and 4 cores + 'SciPy-bundle': { + CPU_TARGET_RISCV64_GENERIC: (divide_by_factor, 2), + }, } From 64375ac2e4686b6296ac648fb0d23187fe4298b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bob=20Dr=C3=B6ge?= Date: Mon, 2 Feb 2026 17:26:32 +0100 Subject: [PATCH 2/3] Add easystack for testing purposes --- easystacks/riscv/2025.06-001/eessi-2025.06-eb-5.2.0-2025a.yml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 easystacks/riscv/2025.06-001/eessi-2025.06-eb-5.2.0-2025a.yml diff --git a/easystacks/riscv/2025.06-001/eessi-2025.06-eb-5.2.0-2025a.yml b/easystacks/riscv/2025.06-001/eessi-2025.06-eb-5.2.0-2025a.yml new file mode 100644 index 00000000..0176f72b --- /dev/null +++ b/easystacks/riscv/2025.06-001/eessi-2025.06-eb-5.2.0-2025a.yml @@ -0,0 +1,2 @@ +easyconfigs: + - SciPy-bundle-2025.06-gfbf-2025a.eb From 4f866a54a24b7c3dbdd1c3e66428988c691f1b5d Mon Sep 17 00:00:00 2001 From: julianmorillo Date: Tue, 3 Feb 2026 16:47:10 +0100 Subject: [PATCH 3/3] Set the maximum parallelism to 1 for SciPy-bundle (for RISC-V) --- eb_hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eb_hooks.py b/eb_hooks.py index 94138159..cd980a7c 100644 --- a/eb_hooks.py +++ b/eb_hooks.py @@ -1945,6 +1945,6 @@ def set_maximum(parallel, max_value): # found problems with the number of opened files in the test phase with # ulimit -n = 2048 and 4 cores 'SciPy-bundle': { - CPU_TARGET_RISCV64_GENERIC: (divide_by_factor, 2), + CPU_TARGET_RISCV64_GENERIC: (set_maximum, 1), }, }