Support multiple versions of same compiler vendor in site config (especially oneapi)#1541
Merged
Support multiple versions of same compiler vendor in site config (especially oneapi)#1541
Conversation
…ck.yaml, and spack-ext/repos/spack-stack/packages/neptune-python-env/package.py: add py-arch and py-regionmask
…eature/spst-neptune-py-regionmask-uxarray-arch
…ultiple versions of oneapi compilers
AlexanderRichert-NOAA
approved these changes
Mar 6, 2025
ulmononian
approved these changes
Mar 6, 2025
Collaborator
ulmononian
left a comment
There was a problem hiding this comment.
looks good. we should try to parallel this on our noaa configs @RatkoVasic-NOAA @rickgrubin-noaa.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR updates the documentation for maintaining site configurations with multiple versions of the same compiler vendor. The most important use case here is a
oneapi@2024configuration withifortand aoneapi@2025configuration withifx. It turns out that this is already supported by spack-stack, therefore this is primarily a question of providing adequate documentation and updating the site configs as needed.This PR, in addition to updating the documentation, updates the NRL site configs and NRL batch install script accordingly. These can serve as blueprints for other sites, if needed.
I also sneaked in a tiny update for the
util/nrl/batch_install.shscript to turn on or off the updating of source and bootstrap caches (tested on NRL systems).Testing
Describe the testing done for this PR.
[email protected]withifortand[email protected]withifx)Applications affected
None
Systems affected
All with multiple versions of a given compiler
Dependencies
None
Issue(s) addressed
Closes #1492
Checklist
All dependency PRs/issues have been resolved and this PR can be merged.