-
Notifications
You must be signed in to change notification settings - Fork 47
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
Add util/nrl/batch_install.sh, add patch to build py-netcdf4 without mpi #1464
Merged
climbfuji
merged 16 commits into
JCSDA:develop
from
climbfuji:feature/nrl_batch_install
Jan 22, 2025
Merged
Add util/nrl/batch_install.sh, add patch to build py-netcdf4 without mpi #1464
climbfuji
merged 16 commits into
JCSDA:develop
from
climbfuji:feature/nrl_batch_install
Jan 22, 2025
Conversation
This file contains 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
…itHub for CMakeModules and spack
…elease/neptune-1.5
…slurm before openmpi on Atlantis/GCC
…s.yaml to avoid duplicate packages
…duplicate packages
…unified-env with Intel Classic
…nfigs/sites/tier1/narwhal/compilers.gcc-direct.tmp to /site/compilers.yaml
climbfuji
changed the title
Add util/nrl_batch_install.sh
Add util/nrl_batch_install.sh, add patch to build py-netcdf4 without mpi
Jan 21, 2025
…atch_install.sh -> util/nrl/batch_install.sh
AlexanderRichert-NOAA
approved these changes
Jan 21, 2025
climbfuji
changed the title
Add util/nrl_batch_install.sh, add patch to build py-netcdf4 without mpi
Add util/nrl/batch_install.sh, add patch to build py-netcdf4 without mpi
Jan 21, 2025
areinecke
approved these changes
Jan 21, 2025
5 tasks
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
Add
util/nrl_batch_install.sh
. This includes a workaround for installing thecycl
environment on Narwhal, for which we need to switch from the Cray compiler wrappers forgcc@10
to the native compilers (lines 258-264 innrl_batch_install.sh
). I will work on a better solution for this in the next weeks.During the installation, three problems were discovered that are fixed in this PR:
gcc@:10
, need to use older version ofcdo
inconfigs/common/packages.yaml
that uses C++-17 instead of C++-20 (same as existing modifications for Intel Classic)py-netcdf
without MPI (~mpi
) even whennetcdf-c
was built with+mpi
to avoid errors mentioned in py-netcdf4 must be buildable with~mpi
, even if netcdf is built with ~+mpi` #1463Also update submodule pointer for spack for changes recently merges into spack-stack-dev (
py-numpy
bug fix for%intel
).Testing
Used
util/nrl_batch_install.sh
to install all necessary environments on Atlantis, Narwhal, Nautilus.Applications affected
None
Systems affected
Atlantis, Narwhal, Nautilus
Dependencies
Issue(s) addressed
Resolves #1463
Checklist