Skip to content

Use patched GCC for glibc/GCC fixincludes issue#277

Merged
msimberg merged 6 commits intoeth-cscs:mainfrom
msimberg:prgenv-gnu-rocm-gcc-fixincludes
Dec 19, 2025
Merged

Use patched GCC for glibc/GCC fixincludes issue#277
msimberg merged 6 commits intoeth-cscs:mainfrom
msimberg:prgenv-gnu-rocm-gcc-fixincludes

Conversation

@msimberg
Copy link
Copy Markdown
Collaborator

@msimberg msimberg commented Nov 28, 2025

@msimberg
Copy link
Copy Markdown
Collaborator Author

cscs-ci run alps;system=beverin;uarch=mi200;uenv=prgenv-gnu:25.7

@msimberg
Copy link
Copy Markdown
Collaborator Author

msimberg commented Dec 3, 2025

This works*, but might be good to wait for spack/spack-packages#2596 to be merged before deploying this.

*works means that there is no "fixed" pthread.h include generated, and compilation using images built on the sles15sp5 and sles15sp6 images on beverin can be used to compile successfully on the other image.

@msimberg
Copy link
Copy Markdown
Collaborator Author

cscs-ci run alps;system=beverin;uarch=mi200;uenv=prgenv-gnu:25.7

@msimberg msimberg changed the title Try patched GCC for glibc/GCC issue Use patched GCC for glibc/GCC fixincludes issue Dec 16, 2025
@msimberg
Copy link
Copy Markdown
Collaborator Author

cscs-ci run alps;system=beverin;uarch=mi200;uenv=prgenv-gnu:25.7

1 similar comment
@msimberg
Copy link
Copy Markdown
Collaborator Author

cscs-ci run alps;system=beverin;uarch=mi200;uenv=prgenv-gnu:25.7

@msimberg
Copy link
Copy Markdown
Collaborator Author

cscs-ci run alps;system=beverin;uarch=mi200;uenv=prgenv-gnu:25.7

@msimberg
Copy link
Copy Markdown
Collaborator Author

cscs-ci run alps;system=beverin;uarch=mi200;uenv=prgenv-gnu:25.7

1 similar comment
@msimberg
Copy link
Copy Markdown
Collaborator Author

cscs-ci run alps;system=beverin;uarch=mi200;uenv=prgenv-gnu:25.7

@msimberg
Copy link
Copy Markdown
Collaborator Author

I will go ahead and deploy this as v11 on beverin.

Note that the newly added UenvFixincludes test passes with this uenv (https://gitlab.com/cscs-ci/ci-testing/webhook-ci/mirrors/551234120955960/1440398897047560/-/jobs/12483392591#L441, test added in eth-cscs/cscs-reframe-tests#474).

Because I had to bump the spack-packages commit, I needed to:

  • constrain boost to 1.88.0 (same version as in v10, comment added issue and conflict submitted upstream)
  • disable the newly added xccl variant on osu-micro-benchmarks which assumes that rccl is found from the base install of hip/rocm (I think this is the case from rocm 7 onwards, but not yet with 6.3.3; the new rocm 7 uenv should leave the xccl variant enabled if possible)

@msimberg
Copy link
Copy Markdown
Collaborator Author

I've deployed v11 on beverin:

$ uenv image find prgenv-gnu
uenv                        arch    system   id                size(MB)  date
prgenv-gnu/25.06-6.3.3:v11  amdgpu  beverin  9859e8eb31e99c8f   5,290    2025-12-19
prgenv-gnu/25.07-6.3.3:v10  amdgpu  beverin  50b03b9488654294   5,112    2025-11-20
prgenv-gnu/25.07-6.3.3:v8   amdgpu  beverin  c13f2d17e35f9631   8,855    2025-11-10
prgenv-gnu/25.07-6.3.3:v9   amdgpu  beverin  0046cd51ecd544e6   5,073    2025-11-12
prgenv-gnu/25.4:v1          mi300   beverin  ebdaf87acadc8c6d   6,345    2025-07-01
prgenv-gnu/25.4:v2          amdgpu  beverin  7d9ffe187c872376   6,592    2025-11-21

Compilation works on both the old and the new system image.

@msimberg msimberg merged commit e85b74a into eth-cscs:main Dec 19, 2025
0 of 2 checks passed
@msimberg msimberg deleted the prgenv-gnu-rocm-gcc-fixincludes branch December 19, 2025 11:02
RMeli pushed a commit to RMeli/alps-uenv that referenced this pull request Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant