Acorn updates, March 2025#1571
Merged
AlexanderRichert-NOAA merged 23 commits intoJCSDA:developfrom Mar 20, 2025
Merged
Conversation
…in a given environment
Collaborator
|
Is the following a correct understanding?
|
Collaborator
Author
No- If no version is specified by the --compiler flag, site/compilers.yaml will not be modified.
Correct (assuming that some version was provided with the --compiler flag)
Correct |
rickgrubin-noaa
approved these changes
Mar 19, 2025
climbfuji
requested changes
Mar 20, 2025
Collaborator
climbfuji
left a comment
There was a problem hiding this comment.
Two questions/requests
- Please update the documentation. We have documentation for utilities, for the spack-stack extension, ... - all in readthedocs. Given that this is a little more complicated than some of the other options, we should document it properly.
- Do we need the extra utility
filter_spack_compilers.py? I'd say it's enough to do this when setting up the environment, and if you forget then start over?
Collaborator
Author
|
climbfuji
approved these changes
Mar 20, 2025
Collaborator
climbfuji
left a comment
There was a problem hiding this comment.
Happy to merge this and resolve the conflicts later when merging release/1.9.0 into develop.
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
General spack-stack updates:
spack stack create envwill now filter site/compilers.yaml to remove compilers with the same name but different versions (there is an optional flag for not doing this). There is also a new utility, filter_spack_compilers.py that allows users to filter compilers "manually" (inclusive, exclusive, and exclusive by compiler name/version).Acorn-specific updates:
gh+deps on login nodes, everything else in PBS Pro.Testing
Tested on Acorn.
Applications affected
Most (because of
esmf:require:+python)Systems affected
Acorn; maintainers that don't want to filter site/compilers.yaml can use the
--keep-all-compilersflagDependencies
JCSDA/spack#527
Issue(s) addressed
Fixes #1570
Checklist