-
Notifications
You must be signed in to change notification settings - Fork 5
NVHPC toolchain support #106
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
Draft
kvrigor
wants to merge
9
commits into
master
Choose a base branch
from
env-nvhpc
base: master
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.
Draft
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
c45b0cd
Env files for NVHPC toolchain
kvrigor 8dbeaf6
NVHPC Hypre is now available
kvrigor fc9dbd9
Added LAPACK module to intel.psmpi
kvrigor a1fa83e
Supported NVHPC on ParFlow
kvrigor 41fc97f
Switched eCLM to dev-nvhpc-support branch
kvrigor 058e956
Supported nvfortran build on OASIS3-MCT library
kvrigor 6956195
Updated eCLM tip
kvrigor 17928f5
Updated eCLM
kvrigor d338182
Support NVHPC toolchain for PDAF (#116)
jjokella 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
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
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
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,65 @@ | ||
| # -------------------------------------------------------------------------- | ||
| # Loads IntelLLVM+ParaStationMPI build environment for TSMP2. | ||
| # This environment is tailored for JURECA [1] and JUWELS [2] supercomputers. | ||
| # | ||
| # [1] https://apps.fz-juelich.de/jsc/software/jureca/index.xhtml | ||
| # [2] https://apps.fz-juelich.de/jsc/software/juwels/index.xhtml | ||
| # | ||
| # Usage: source jsc.2025.intel.psmpi | ||
| # -------------------------------------------------------------------------- | ||
|
|
||
| # Load Stages/2025 | ||
| module --force purge | ||
| module use $OTHERSTAGES | ||
| module load Stages/2025 | ||
| module load NVHPC/25.5-CUDA-12 | ||
| module load OpenMPI | ||
| module load ScaLAPACK/2.2.0-fb | ||
|
|
||
| # Basic scripting and build tools | ||
| module load Python | ||
| module load CMake | ||
| module load git | ||
|
|
||
| # Storage libraries | ||
| module load HDF5 | ||
| module load netCDF | ||
| module load netCDF-Fortran | ||
| module load PnetCDF | ||
|
|
||
| # ParFlow additional libraries | ||
| module load CUDA | ||
| module load UCX-settings/RC-CUDA | ||
| module load Hypre/2.31.0 | ||
|
|
||
| # TODO: Verify these values | ||
| if [[ $SYSTEMNAME == "jedi" || $SYSTEMNAME == "jupiter" ]]; then | ||
| export CUDAARCHS="90" | ||
| else | ||
| export CUDAARCHS="80" | ||
| fi | ||
| export CMAKE_CUDA_RUNTIME_LIBRARY="Shared" | ||
|
|
||
|
|
||
| # ICON additional libraries | ||
| module load ecCodes | ||
|
|
||
| # Set default MPI compilers | ||
| export OMPI_CC=nvc | ||
| export OMPI_CXX=nvc++ | ||
| export OMPI_FC=nvfortran | ||
| export CC=mpicc | ||
| export FC=mpif90 | ||
| export CXX=mpicxx | ||
| export MPI_HOME=$EBROOTOPENMPI | ||
|
|
||
| # Display compiler settings | ||
| module list | ||
| echo "=========================== COMPILER SETTINGS =======================" | ||
| echo " Machine: ${SYSTEMNAME} on Stages/$STAGE" | ||
| echo " MPI lib: $(mpirun --version | head -n 1)" | ||
| echo " C: $($CC --version | head -n 2 | tail -n 1)" | ||
| echo " C++: $($CXX --version | head -n 2 | tail -n 1)" | ||
| echo " Fortran: $($FC --version | head -n 2 | tail -n 1)" | ||
| echo "======================================================================" | ||
|
|
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,61 @@ | ||
| # -------------------------------------------------------------------------- | ||
| # Loads IntelLLVM+ParaStationMPI build environment for TSMP2. | ||
| # This environment is tailored for JURECA [1] and JUWELS [2] supercomputers. | ||
| # | ||
| # [1] https://apps.fz-juelich.de/jsc/software/jureca/index.xhtml | ||
| # [2] https://apps.fz-juelich.de/jsc/software/juwels/index.xhtml | ||
| # | ||
| # Usage: source jsc.2025.intel.psmpi | ||
| # -------------------------------------------------------------------------- | ||
|
|
||
| # Load Stages/2025 | ||
| module --force purge | ||
| module use $OTHERSTAGES | ||
| module load Stages/2025 | ||
| module load NVHPC/25.5-CUDA-12 | ||
| module load ParaStationMPI | ||
| module load ScaLAPACK/2.2.0-fb | ||
|
|
||
| # Basic scripting and build tools | ||
| module load Python | ||
| module load CMake | ||
| module load git | ||
|
|
||
| # Storage libraries | ||
| module load HDF5 | ||
| module load netCDF | ||
| module load netCDF-Fortran | ||
| module load PnetCDF | ||
|
|
||
| # ParFlow additional libraries (TODO) | ||
| module load CUDA | ||
| module load UCX-settings/RC-CUDA | ||
| module load Hypre/2.31.0 | ||
|
|
||
| # TODO: Verify these values | ||
| if [[ $SYSTEMNAME == "jedi" || $SYSTEMNAME == "jupiter" ]]; then | ||
| export CUDAARCHS="90" | ||
| else | ||
| export CUDAARCHS="80" | ||
| fi | ||
| export CMAKE_CUDA_RUNTIME_LIBRARY="Shared" | ||
|
|
||
| # ICON additional libraries | ||
| module load ecCodes | ||
|
|
||
| # Set default MPI compilers | ||
| export CC=mpicc | ||
| export FC=mpif90 | ||
| export CXX=mpicxx | ||
| export MPI_HOME=$EBROOTPSMPI | ||
|
|
||
| # Display compiler settings | ||
| module list | ||
| echo "========================= COMPILER SETTINGS ==========================" | ||
| echo " Machine: ${SYSTEMNAME} on Stages/$STAGE" | ||
| echo " MPI lib: $(mpichversion | head -n 1 | tr -d =)" | ||
| echo " C: $($CC --version 2>/dev/null | head -n 2 | tail -n 1)" | ||
| echo " C++: $($CXX --version 2>/dev/null | head -n 2 | tail -n 1)" | ||
| echo " Fortran: $($FC --version 2>/dev/null | head -n 2 | tail -n 1)" | ||
| echo "======================================================================" | ||
| echo "" |
Submodule eCLM
updated
42 files
Submodule pdaf
updated
8 files
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.
Looks to me like this line was not supposed to be deleted.