Skip to content

fix sub-toolchains of NVHPC and NVHPCToolchain and load each one where appropriate#5103

Merged
lexming merged 7 commits intoeasybuilders:developfrom
bartoldeman:nvhpc-versioned-toolchain
Feb 4, 2026
Merged

fix sub-toolchains of NVHPC and NVHPCToolchain and load each one where appropriate#5103
lexming merged 7 commits intoeasybuilders:developfrom
bartoldeman:nvhpc-versioned-toolchain

Conversation

@bartoldeman
Copy link
Contributor

By checking tcdeps for GCCcore instead of nvidia-compilers, we can use new() to replace NVHPC by NVHPCToolchain for legacy NVHPC compiler-only toolchains. This toolchain then also needs the correct module name overridden from nvidia-compilers.

Fixes #5102

By checking tcdeps for GCCcore instead of nvidia-compilers, we
can use __new__() to replace NVHPC by NVHPCToolchain for legacy
NVHPC compiler-only toolchains. This toolchain then also needs
the correct module name overridden from nvidia-compilers.

Fixes easybuilders#5102
@bartoldeman bartoldeman marked this pull request as draft February 2, 2026 19:32
@bartoldeman
Copy link
Contributor Author

needs a test case, so drafting for now

@bartoldeman bartoldeman marked this pull request as ready for review February 3, 2026 14:19
@bartoldeman bartoldeman requested a review from lexming February 3, 2026 14:19
@bartoldeman bartoldeman added this to the next release (5.2.1?) milestone Feb 3, 2026
Copy link
Contributor

@lexming lexming left a comment

Choose a reason for hiding this comment

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

Thanks for the fix! LGTM

Just a few minor suggestions to improve the comments

@lexming lexming changed the title Use NVHPCToolchain instead of NVHPC where appropriate fix sub-toolchains of NVHPC and NVHPCToolchain and load each one where appropriate Feb 4, 2026
bartoldeman and others added 3 commits February 4, 2026 08:11
Co-authored-by: Alex Domingo <alex.domingo.toro@vub.be>
Co-authored-by: Alex Domingo <alex.domingo.toro@vub.be>
Co-authored-by: Alex Domingo <alex.domingo.toro@vub.be>
Copy link
Contributor

@lexming lexming left a comment

Choose a reason for hiding this comment

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

LGTM

@lexming
Copy link
Contributor

lexming commented Feb 4, 2026

Merging, thanks @bartoldeman !

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.

Wrong installation prefix for older NVHPC-compiler-based modules in HMNS

2 participants