Skip to content

Conversation

@boegel
Copy link
Member

@boegel boegel commented Jun 16, 2025

Very much WIP, but a first naive tests seems to have done something useful (though it didn't actually run meson at all?!):

$ eb ~/SciPy-bundle-2025.06-gfbf-2025a.eb -r --include-easyblocks ~/data/numpy.py
...
== installing extension numpy 2.3.0 (1/1)...
  >> defining build environment for gfbf/2025a toolchain
  >> running shell command:
        tar xzf /data/gent/400/vsc40023/EasyBuild/sources/s/SciPy-bundle/extensions/numpy-2.3.0.tar.gz
        [started at: 2025-06-15 19:02:21]
        [working dir: /tmp/vsc40023/easybuild_build/SciPybundle/2025.06/gfbf-2025a/numpy]
        [output and state saved to /tmp/eb-o74xjx_2/run-shell-cmd-output/tar-670c2gpw]
  >> command completed: exit 0, ran in < 1s
  >> applying patch numpy-1.22.3_disable-broken-override-test.patch
==      configuring...
==      building...
==      testing...
==      installing...
  >> running shell command:
        /user/gent/400/vsc40023/eb_arcaninescratch/RHEL9/zen2-ib/software/Python/3.13.1-GCCcore-14.2.0/bin/python -m pip install
--prefix=/user/gent/400/vsc40023/eb_arcaninescratch/RHEL9/zen2-ib/software/SciPy-bundle/2025.06-gfbf-2025a  --verbose --no-deps --ignore-installed --no-build-isolation .
        [started at: 2025-06-15 19:02:23]
        [working dir: /tmp/vsc40023/easybuild_build/SciPybundle/2025.06/gfbf-2025a/numpy/numpy-2.3.0]
        [output and state saved to /tmp/eb-o74xjx_2/run-shell-cmd-output/python-7vqld_2d]
  >> command completed: exit 0, ran in 00h02m24s
==      ... (took 2 mins 32 secs)
== ... (took 2 mins 33 secs)

The SciPy-bundle-2025.06-gfbf-2025a.eb easyconfig here was taken from easybuilders/easybuild-easyconfigs#23023 and edited to (only) have numpy 2.3.0 as extension

cc @Micket

edit: update 20250624: mostly working now, requires some changes to PythonPackage easyblock:

@boegel boegel changed the title update numpy easyblock to support installing numpy >= 2.0 (WIP) update numpy easyblock to support installing numpy >= 2.0 Jun 26, 2025
@boegel boegel marked this pull request as ready for review June 26, 2025 18:41
akesandgren
akesandgren previously approved these changes Jun 26, 2025
Copy link
Contributor

@akesandgren akesandgren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@boegel

This comment was marked as resolved.

@boegel
Copy link
Member Author

boegel commented Jun 26, 2025

Test report by @boegel

Overview of tested easyconfigs (in order)

  • SUCCESS numpy-1.16.6-foss-2023a-Python-2.7.18.eb
  • SUCCESS SciPy-bundle-2024.06-foss-2023a-Python-2.7.18.eb
  • SUCCESS SciPy-bundle-2023.11-gfbf-2023b.eb
  • SUCCESS SciPy-bundle-2024.05-gfbf-2024a.eb

Build succeeded for 4 out of 4 (4 easyconfigs in total)
node3584.doduo.os - Linux RHEL 9.4, x86_64, AMD EPYC 7552 48-Core Processor (zen2), Python 3.9.18
See https://gist.github.com/boegel/f2e99ba442b6aa878674d12904750610 for a full test report.

Copy link
Contributor

@akesandgren akesandgren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LEBN

@branfosj
Copy link
Member

Test report by @branfosj

Overview of tested easyconfigs (in order)

  • SUCCESS SciPy-bundle-2024.05-gfbf-2024a.eb
  • SUCCESS hypothesis-6.13.1-GCCcore-10.3.0.eb
  • SUCCESS hypothesis-4.57.1-GCCcore-11.2.0-Python-2.7.18.eb
  • SUCCESS iimkl-2023a.eb
  • SUCCESS SciPy-bundle-2023.07-iimkl-2023a.eb
  • SUCCESS pybind11-2.7.1-GCCcore-11.2.0-Python-2.7.18.eb
  • SUCCESS SciPy-bundle-2021.10-foss-2021b-Python-2.7.18.eb
  • SUCCESS gomkl-2021a.eb
  • SUCCESS intel-2021a.eb
  • SUCCESS Eigen-3.3.9-GCCcore-10.3.0.eb
  • SUCCESS pybind11-2.6.2-GCCcore-10.3.0.eb
  • SUCCESS SciPy-bundle-2021.05-gomkl-2021a.eb
  • SUCCESS SciPy-bundle-2021.05-intel-2021a.eb
  • SUCCESS FFTW-3.3.9-gompi-2021a.eb
  • SUCCESS BLIS-0.8.1-GCC-10.3.0.eb
  • SUCCESS make-4.3-GCCcore-10.3.0.eb
  • SUCCESS OpenBLAS-0.3.15-GCC-10.3.0.eb
  • SUCCESS FlexiBLAS-3.0.4-GCC-10.3.0.eb
  • SUCCESS ScaLAPACK-2.1.0-gompi-2021a-fb.eb
  • SUCCESS foss-2021a.eb
  • SUCCESS SciPy-bundle-2021.05-foss-2021a.eb

Build succeeded for 21 out of 21 (6 easyconfigs in total)
bear-pg0105u03a - Linux RHEL 8.10, x86_64, Intel(R) Xeon(R) Platinum 8360Y CPU @ 2.40GHz (icelake), Python 3.6.8
See https://gist.github.com/branfosj/9de196c399fa1cef05a01d8f41dbf53b for a full test report.

@branfosj
Copy link
Member

Going in, thanks @boegel!

@branfosj branfosj merged commit 72f39b1 into easybuilders:develop Jun 27, 2025
17 checks passed
@boegel boegel deleted the numpy2 branch June 28, 2025 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants