-
Notifications
You must be signed in to change notification settings - Fork 55
Update spack submodule branch spack-stack-dev from spack develop #1877
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Update spack submodule branch spack-stack-dev from spack develop #1877
Conversation
.gitmodules and submodule pointer for spack for code review and testing
…g,gcc,oneapi}.yaml; remove outdated packages yaamls for aocc, apple-clang, intel classic
…eature/update_spack-stack-dev_from_develop
…/ubuntu-ci-x86_64-oneapi.cfg and .github/workflows/ubuntu-ci-x86_64-oneapi-ifx.cfg
…es.yaml to avoid duplicate packages
…o prevent build errors with gcc when generator=ninja
…hod to determine preferred compiler
…eview and testing
climbfuji
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self-review
| # Set compiler and MPI specs | ||
| spack config add "packages:mpi:require:['openmpi@5.0.8']" | ||
| spack config add "packages:all:prefer:['%gcc']" | ||
| #spack config add "packages:all:prefer:['%gcc']" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| #spack config add "packages:all:prefer:['%gcc']" |
| spack config add "packages:mpi:buildable:False" | ||
| spack config add "packages:mpi:require:['intel-oneapi-mpi@2021.13']" | ||
| spack config add "packages:all:prefer:['%oneapi']" | ||
| #spack config add "packages:all:prefer:['%oneapi']" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| #spack config add "packages:all:prefer:['%oneapi']" |
| spack config add "packages:mpi:buildable:False" | ||
| spack config add "packages:mpi:require:['intel-oneapi-mpi@2021.13']" | ||
| spack config add "packages:all:prefer:['%oneapi']" | ||
| #spack config add "packages:all:prefer:['%oneapi']" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| #spack config add "packages:all:prefer:['%oneapi']" |
rickgrubin-noaa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changed noted in the PR description will come into play for v2.1, correct?
Correct, but we can start building and testing with develop. |
Description
This PR updates the spack submodule branch
spack-stack-devfrom the upstream spackdevelop. Until now, it was based on Spack v1.0.1. See JCSDA/spack#574This update requires us to switch to the new (spack v1) syntax for declaring preferred compilers, since the blanket
packages:all:require:['gcc'](for example) no longer works for packages that don't depend on a compiler (no c, cxx, fortran dependency). While updating the commonpackages_<compiler>.yamlfiles, I removed the remainingconfigs/common/packages_<compiler>.yaml.NOTYETUPDATEDfiles.The concretizer now behaves slightly differently, and we can no longer declare external compiler runtime libraries. I opposed this for a long time, but, alas, I'll choose a different hill to die on. This had to be done for every site config. A few more tweaks to the common
packages.yamlare needed to avoid duplicate packages. Note also that external packages now have to match any variants that arerequire:d in the environment config.The above changes require updates to the
setup-meta-modulesextension, the GitHub actions workflows, and the unit tests for the spack-stack extension.Lastly, this PR brings in a new version of bufr-query 0.0.5. Note that the concretizer in spack v1.0.1 had a bug that caused it to simply ignore bufr-query, even though it was supposed to be built (variant in jedi-base-env had default value
True). The new concretizer fixed this bug, and now we do getbufr-queryas part of the unified environment and the Skylab environment.Dependencies
Issues addressed
Closes #1874
Closes #1875
Closes #1766
Closes #1767
Applications affected
Potentially all. Or none.
Systems affected
Potential all. Or none. Heck, who knows. We'll find out.
Testing
Checklist