-
Notifications
You must be signed in to change notification settings - Fork 58
Add support for basic NEPTUNE env with nvhpc@26.5 #2094
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
Open
climbfuji
wants to merge
7
commits into
JCSDA:develop
Choose a base branch
from
climbfuji:feature/nvhpc_jcsda_dev
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
e721eac
Store work in progress for neptune-dev-nvhpc
climbfuji bc6d949
Update submodule pointer for repos/builtin (ip@5.4.0 % nvhpc)
climbfuji fa5fe3e
Update configs/templates/neptune-dev-nvhpc/spack.yaml and repos/spack…
climbfuji e0de835
Clean up configs/common/packages_nvhpc.yaml
climbfuji c46984b
Add configs/sites/tier2/bounty/README_nvhpc-26.5.md
climbfuji 4831bf4
Merge branch 'develop' of https://github.com/jcsda/spack-stack into f…
climbfuji 0450bbb
[skip ci]
climbfuji File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,99 @@ | ||
| packages: | ||
| # Compiler preferences | ||
| c: | ||
| prefer: | ||
| - nvhpc | ||
| cxx: | ||
| prefer: | ||
| - nvhpc | ||
| fortran: | ||
| prefer: | ||
| - nvhpc | ||
| # Virtual provider settings | ||
| blas: | ||
| require: | ||
| - nvhpc | ||
| fftw-api: | ||
| require: | ||
| - fftw | ||
| #- nvpl-fft | ||
| lapack: | ||
| require: | ||
| - nvhpc | ||
| # Individual package settings | ||
| antlr: | ||
| require: | ||
| - '%c,cxx=gcc' | ||
| bison: | ||
| require: | ||
| - '%c,cxx=gcc' | ||
| cmake: | ||
| require: | ||
| - '%c,cxx=gcc' | ||
| curl: | ||
| require: | ||
| - '%c=gcc' | ||
| ectrans: | ||
| require: | ||
| - +fftw | ||
| file: | ||
| require: | ||
| - '%c=gcc' | ||
| gmake: | ||
| require: | ||
| - '%c=gcc' | ||
| go: | ||
| require: | ||
| - '%c,cxx=gcc' | ||
| # https://github.com/NOAA-EMC/NCEPLIBS-ip/issues/320 | ||
| ip: | ||
| require: | ||
| - ~openmp | ||
| libbsd: | ||
| require: | ||
| - '%c=gcc' | ||
| libffi: | ||
| require: | ||
| - '%c=gcc' | ||
| libiconv: | ||
| require: | ||
| - '%c=gcc' | ||
| libmd: | ||
| require: | ||
| - '%c=gcc' | ||
| libxml2: | ||
| require: | ||
| - '%c=gcc' | ||
| ninja: | ||
| require: | ||
| - '%c=gcc' | ||
| nco: | ||
| require: | ||
| - '%c,cxx=gcc' | ||
| numactl: | ||
| require: | ||
| - '%c=gcc' | ||
| patchelf: | ||
| require: | ||
| - '%c=gcc' | ||
| pkg-config: | ||
| require: | ||
| - '%c=gcc' | ||
| python: | ||
| require: | ||
| - '%c=gcc' | ||
| py-cython: | ||
| require: | ||
| - '%c=gcc' | ||
| py-mpi4py: | ||
| require: | ||
| - '%c,cxx=gcc' | ||
| py-numpy: | ||
| require: | ||
| - '%c,cxx=gcc' | ||
| rust: | ||
| require: | ||
| - '%c,cxx=gcc' | ||
| zstd: | ||
| require: | ||
| - '%c,cxx=gcc' | ||
File renamed without changes.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| WSL 2 Alma Linux 9 installation notes for NVHPC 26.5 compiler | ||
|
|
||
| # Download and install nvhpc - interactive install only, | ||
| # cannot provide command line arguments. | ||
|
|
||
| wget https://developer.download.nvidia.com/hpc-sdk/26.5/nvhpc_2026_265_Linux_x86_64_cuda_13.2.tar.gz | ||
| tar xpzf nvhpc_2026_265_Linux_x86_64_cuda_13.2.tar.gz | ||
| nvhpc_2026_265_Linux_x86_64_cuda_13.2/install | ||
|
|
||
| # Bug fix for missing include directory (symbolic link) | ||
| cd <nvhpc-top-level-install-dir> | ||
| ln -s Linux_x86_64/26.5/compilers/include include | ||
|
|
||
| # Needed for hpcx | ||
| yum install libnl3 |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| packages: | ||
| all: | ||
| require: | ||
| - any_of: ['%nvhpc@=26.5'] | ||
| when: '%nvhpc' | ||
| - any_of: ['%gcc@=11.5.0'] | ||
| when: '%gcc' | ||
| mpi: | ||
| buildable: false | ||
| require: | ||
| #- "nvhpc@=26.5" | ||
| - "openmpi@=5.0.10" | ||
| nvhpc: | ||
| buildable: false | ||
| externals: | ||
| - spec: nvhpc@26.5+blas+lapack~mpi | ||
| prefix: /home/dom/prod/nvhpc-26.5 | ||
| extra_attributes: | ||
| compilers: | ||
| c: /home/dom/prod/nvhpc-26.5/Linux_x86_64/26.5/compilers/bin/nvc | ||
| cxx: /home/dom/prod/nvhpc-26.5/Linux_x86_64/26.5/compilers/bin/nvc++ | ||
| fortran: /home/dom/prod/nvhpc-26.5/Linux_x86_64/26.5/compilers/bin/nvfortran | ||
| gcc: | ||
| buildable: false | ||
| externals: | ||
| - spec: gcc@11.5.0 languages:='c,c++' | ||
| prefix: /usr | ||
| extra_attributes: | ||
| compilers: | ||
| c: /usr/bin/gcc | ||
| cxx: /usr/bin/g++ | ||
| fortran: /usr/bin/gfortran | ||
| openmpi: | ||
| buildable: false | ||
| externals: | ||
| - spec: openmpi@5.0.10 ~internal-hwloc +two_level_namespace | ||
| prefix: /home/dom/prod/nvhpc-26.5/Linux_x86_64/26.5/comm_libs/13.2/hpcx/hpcx-2.50/ompi5 |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| # Template for NEPTUNE development | ||
| # | ||
| spack: | ||
| concretizer: | ||
| unify: when_possible | ||
|
|
||
| view: false | ||
| include: [] | ||
|
|
||
| specs: | ||
| #- dev-utils-env | ||
| - neptune-env ~debug +openmp +nvhpc +espc ~ncview ^esmf@=9.0.0b11 | ||
| - neptune-env +debug +openmp +nvhpc +espc +ncview ^esmf@=9.0.0b11 | ||
| - neptune-env ~debug ~openmp +nvhpc +espc +ncview ^esmf@=9.0.0b11 | ||
| - neptune-env +debug ~openmp +nvhpc +espc +ncview ^esmf@=9.0.0b11 | ||
|
|
||
| - py-numpy | ||
| #- crtm@3.1.3 | ||
|
|
||
| packages: | ||
| # Turn on python variant for esmf | ||
| esmf: | ||
| require: | ||
| - +python |
Submodule builtin
updated
4 files
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
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
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.
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.
Future improvement ... could to the same for blas/lapack instead of taking the built-in one that ships with the compiler (requires performance testing).