Patch for building [email protected], [email protected], and [email protected]:2.61 with Intel oneAPI 2025.2; add [email protected]#1592
Conversation
|
@spackbot fix style |
|
Let me see if I can fix that for you! |
|
I was able to run spack style --fixrepos/spack_repo/builtin/packages/yafyaml/package.py
�[1;34m==> �[0mrunning flake8
repos/spack_repo/builtin/packages/yafyaml/package.py:73: [E501] line too long (104 > 99 characters)
�[1;34m==> �[0mrunning isort
�[1;34m==> �[0mrunning black
I've updated the branch with style fixes. |
|
@spackbot fix style |
|
Let me see if I can fix that for you! |
|
I was able to run spack style --fixrepos/spack_repo/builtin/packages/pflogger/package.py
repos/spack_repo/builtin/packages/yafyaml/package.py
�[1;34m==> �[0mrunning flake8
repos/spack_repo/builtin/packages/pflogger/package.py:80: [E501] line too long (109 > 99 characters)
repos/spack_repo/builtin/packages/yafyaml/package.py:73: [E501] line too long (106 > 99 characters)
�[1;34m==> �[0mrunning isort
�[1;34m==> �[0mrunning black
I've updated the branch with style fixes. |
|
@spackbot fix style |
|
Let me see if I can fix that for you! |
|
I was able to run spack style --fixrepos/spack_repo/builtin/packages/mapl/package.py
repos/spack_repo/builtin/packages/pflogger/package.py
repos/spack_repo/builtin/packages/quantum_espresso/package.py
repos/spack_repo/builtin/packages/yafyaml/package.py
�[1;34m==> �[0mrunning flake8
repos/spack_repo/builtin/packages/mapl/package.py:435: [E501] line too long (154 > 99 characters)
�[1;34m==> �[0mrunning isort
�[1;34m==> �[0mrunning black
I've updated the branch with style fixes. |
|
@mathomp4 This is ready for your review. We may want to add version constraints and conflicts for mapl, similar to what I did for yafyaml and pflogger. |
@climbfuji I'll try and test it today myself. In re MAPL, the biggest limit for versioning is from like 2.15 to 2.61. At least, that file only exists since then. But we already have: # MAPL can use ifx only from MAPL 2.51 onwards and only supports
# ifx 2025.0 and newer due to bugs in ifx.
conflicts("^[virtuals=fortran] intel-oneapi-compilers@2025:", when="@:2.50")so maybe we just say your in-spack workaround is usable from 2.51 to 2.61? Hopefully with 2.62 we'll have the fixes necessary internally. |
|
@mathomp4 This is ready! |
|
FYI. Added missing maintainers (especially from |
… with Intel oneAPI 2025.2; add [email protected] (spack#1592) * Bug fix for Intel oneAPI 2025.2 that allows building [email protected] * [@spackbot] updating style on behalf of climbfuji * Use 'for' to apply patch in repos/spack_repo/builtin/packages/yafyaml/package.py * Patch for building [email protected] with [email protected] * [@spackbot] updating style on behalf of climbfuji * Patch for building mapl with [email protected] * [@spackbot] updating style on behalf of climbfuji * Add [email protected], and constrain workaround for [email protected] to @:2.61 --------- Co-authored-by: climbfuji <[email protected]>
Description
The Intel oneAPI 2025.2 Fortran preprocessor has a bug that was reported in https://community.intel.com/t5/Intel-Fortran-Compiler/Regression-with-fpp-2025-2-0/td-p/1703735 as well as in an internal premier support ticket. Intel fixed this in their developmental code, and the bug fix will be in Intel oneAPI 2026.
This patch allows building [email protected] and [email protected] with that compiler, as well as a range of recent
maplversions@2.51:2.61(I tested@2.53). The lower limit is due to the general conflict ofmapl@:2.50with Intel oneAPI, the upper bound is because 2.62.0, added here, contains the bug fixes for Intel oneAPI 2025.2.I restricted the patch to versions 1.5.1/1.16.1 of yafyaml/pflogger because (a) I don't want to try if the patch works for the older versions, and (b) the package maintainer @mathomp4 and I had a conversation, and we will try to add this patch to the authoritative code base for later versions of yafyaml and pflogger.
I tested this on my local machine with [email protected].