-
Notifications
You must be signed in to change notification settings - Fork 54
Update: spack stack 2.0.0 (for Intel) and 2.1.0 (for GNU) and ip library #662
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
Merged
scrasmussen
merged 26 commits into
NCAR:main
from
scrasmussen:update/spack-stack-2.0-and-ip
Apr 10, 2026
Merged
Changes from 12 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
cd19c38
Use ip@5: if available instead of sp if available
climbfuji 89f3bab
Adding no OpenMP flag
scrasmussen b97d575
sp to ip changes in ccpp-physics repo, enhancement/build-with-ip branch
scrasmussen f78c1dd
sp to ip changes in ccpp-physics repo, enhancement/build-with-ip branch
scrasmussen e8d6fa1
-O2 to -O0 changes required to get ifx 2025.2.1 to build on Derecho. …
scrasmussen 0ff17e3
Module variables to build spack stack 2.0.0 and 1.9.3. Note 2.0.0 doe…
scrasmussen 2e62b76
add GNU module for Ursa with spack-stack 2.0.0
grantfirl 306607d
use intel-specific spack-stack 2.0.0 python environment in ursa intel…
grantfirl 75a1840
Supported case arm_sgp_summer_1997_A requires SCM_GFS_v16_ps suite to…
scrasmussen 82b1cb9
Use scm/dev ccpp-physics
scrasmussen d6d217a
- Using name/version format for spackstack and derecho_gnu and derech…
scrasmussen 7d37d1f
point to ccpp-physics IP PR into scm/dev
grantfirl 2f23c75
add run list arugment to suite_info to only compile subset of suites …
grantfirl 47bb8b1
add rl option to CMakeLists.txt to compile smaller subset of suites i…
grantfirl dcd1979
remove warning prints; use default rl if no match
grantfirl f4904e5
revert optimization change and edit to supported_suites.py
92d7d44
Merge pull request #11 from grantfirl/add_rl_type
scrasmussen 122be00
Removing supported_cases.py and supported_suites.py since they have b…
scrasmussen b269c26
Add emacs as a shell function, pointing to an emacs executable on Der…
scrasmussen c1aa907
Switch DEFAULT_SUITE_BEHAVIOR to supported from regression_test. Whit…
scrasmussen 560b0bb
Removing spack_stack from module name
scrasmussen 0f29bb5
Moving hera and ursa module files to be versioned modules
scrasmussen bb0168a
Converting documentation code blocks to use the traditional $ to indi…
scrasmussen e4e87df
Make the default documenation opened the latest, instead of v7.0.0
scrasmussen 007a1d5
Add additional details regarding suite_info.py and the default suppor…
scrasmussen 663ace6
update ccpp/physics after merge
grantfirl 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| module_version("derecho_gnu/spack_stack_2.1.0", "default") |
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,28 @@ | ||
| help([[ | ||
| This module loads libraries for building the CCPP Single-Column Model on | ||
| the CISL machine Derecho (Cray) using GNU 12.4.0 | ||
| ]]) | ||
|
|
||
| whatis([===[Loads spack-stack libraries needed for building the CCPP SCM on Derecho with GNU compilers]===]) | ||
|
|
||
| prepend_path("MODULEPATH","/glade/work/epicufsrt/contrib/spack-stack/derecho/spack-stack-1.9.3/envs/ue-gcc-12.4.0/install/modulefiles/Core/") | ||
|
|
||
| load("stack-gcc/12.4.0") | ||
| load("stack-cray-mpich/8.1.29") | ||
| load("stack-python/3.11.7") | ||
| load("cmake/3.27.9") | ||
|
|
||
| load("hdf5/1.14.3") | ||
| load("netcdf-c/4.9.2") | ||
| load("netcdf-fortran/4.6.1") | ||
| load("bacio/2.4.1") | ||
| load("ip/5.1.0") | ||
| load("w3emc/2.10.0") | ||
|
|
||
| load("py-f90nml") | ||
| load("py-netcdf4/1.7.1.post2") | ||
|
|
||
| setenv("CMAKE_C_COMPILER","mpicc") | ||
| setenv("CMAKE_CXX_COMPILER","mpicxx") | ||
| setenv("CMAKE_Fortran_COMPILER","mpif90") | ||
| setenv("CMAKE_Platform","derecho.gnu") |
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,28 @@ | ||
| help([[ | ||
| This module loads libraries for building the CCPP Single-Column Model on | ||
| the CISL machine Derecho (Cray) using GNU 13.3.1 | ||
| ]]) | ||
|
|
||
| whatis([===[Loads spack-stack libraries needed for building the CCPP SCM on Derecho with GNU compilers]===]) | ||
|
|
||
| prepend_path("MODULEPATH","/glade/work/epicufsrt/contrib/spack-stack/derecho/spack-stack-2.1.0/envs/ue-gcc-13.3.1/modules/Core/") | ||
|
|
||
| load("stack-gcc/13.3.1") | ||
| load("stack-cray-mpich/8.1.32") | ||
| load("python/3.11.11") | ||
| load("cmake/3.31.8") | ||
|
|
||
| load("hdf5/1.14.5") | ||
| load("netcdf-c/4.9.2") | ||
| load("netcdf-fortran/4.6.1") | ||
| load("bacio/2.6.0") | ||
| load("ip/5.4.0") | ||
| load("w3emc/2.13.0") | ||
|
|
||
| load("py-f90nml/1.4.3") | ||
| load("py-netcdf4/1.7.2") | ||
|
|
||
| setenv("CMAKE_C_COMPILER","mpicc") | ||
| setenv("CMAKE_CXX_COMPILER","mpicxx") | ||
| setenv("CMAKE_Fortran_COMPILER","mpif90") | ||
| setenv("CMAKE_Platform","derecho.gnu") |
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 @@ | ||
| module_version("derecho_intel/spack_stack_2.0.0", "default") |
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,29 @@ | ||
| help([[ | ||
| This module loads libraries for building the CCPP Single-Column Model on | ||
| the CISL machine Derecho (Cray) using Intel oneAPI 2025.2.1 | ||
| ]]) | ||
|
|
||
| whatis([===[Loads spack-stack libraries needed for building the CCPP SCM on Derecho with Intel compilers]===]) | ||
|
|
||
|
|
||
| prepend_path("MODULEPATH","/glade/work/epicufsrt/contrib/spack-stack/derecho/spack-stack-2.0.0/envs/ue-oneapi-2025.2.1/modules/Core/") | ||
|
|
||
| load("stack-intel-oneapi-compilers/2025.2.1") | ||
| load("stack-cray-mpich/8.1.32") | ||
| load("python/3.11.11") | ||
| load("cmake/3.31.8") | ||
|
|
||
| load("hdf5/1.14.5") | ||
| load("netcdf-c/4.9.2") | ||
| load("netcdf-fortran/4.6.1") | ||
| load("bacio/2.6.0") | ||
| load("ip/5.4.0") | ||
| load("w3emc/2.11.0") | ||
|
|
||
| load("py-f90nml") | ||
| load("py-netcdf4/1.7.2") | ||
|
|
||
| setenv("CMAKE_C_COMPILER","cc") | ||
| setenv("CMAKE_CXX_COMPILER","CC") | ||
| setenv("CMAKE_Fortran_COMPILER","ftn") | ||
| setenv("CMAKE_Platform","derecho.intel") |
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,31 @@ | ||
| help([[ | ||
| This module loads libraries for building the CCPP Single-Column Model on | ||
| the NOAA RDHPC machine Ursa using GNU 12.4 | ||
| ]]) | ||
|
|
||
| whatis([===[Loads spack-stack libraries needed for building the CCPP SCM on Ursa with Intel compilers ]===]) | ||
|
|
||
| prepend_path("MODULEPATH","/contrib/spack-stack/spack-stack-2.0.0/envs/ue-gcc-12.4.0/modules/Core") | ||
|
|
||
| load("stack-gcc/12.4.0") | ||
| load("stack-openmpi/4.1.6") | ||
| load("python/3.11.11") | ||
| load("cmake/3.31.8") | ||
|
|
||
| load("hdf5/1.14.5") | ||
| load("netcdf-c/4.9.2") | ||
| load("netcdf-fortran/4.6.1") | ||
| load("bacio/2.6.0") | ||
| load("ip/5.4.0") | ||
| load("w3emc/2.11.0") | ||
| load("esmf/8.8.0") | ||
|
|
||
| load("py-f90nml") | ||
| load("py-netcdf4/1.7.2") | ||
|
|
||
| setenv("CMAKE_C_COMPILER","mpicc") | ||
| setenv("CMAKE_CXX_COMPILER","mpicxx") | ||
| setenv("CMAKE_Fortran_COMPILER","mpif90") | ||
| setenv("CMAKE_Platform","ursa.gnu") | ||
|
|
||
| execute{cmd="source /scratch3/BMC/gmtb/ccpp-scm-software/spack-stack-2.0.0-gnu/bin/activate", modeA={"load"}} |
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,31 @@ | ||
| help([[ | ||
| This module loads libraries for building the CCPP Single-Column Model on | ||
| the NOAA RDHPC machine Ursa using Intel oneAPI 2025.2.1 | ||
| ]]) | ||
|
|
||
| whatis([===[Loads spack-stack libraries needed for building the CCPP SCM on Ursa with Intel compilers ]===]) | ||
|
|
||
| prepend_path("MODULEPATH","/contrib/spack-stack/spack-stack-2.0.0/envs/ue-oneapi-2025.2.1/modules/Core") | ||
|
|
||
| load("stack-intel-oneapi-compilers/2025.2.1") | ||
| load("stack-intel-oneapi-mpi/2021.13") | ||
| load("python/3.11.11") | ||
| load("cmake/3.31.8") | ||
|
|
||
| load("hdf5/1.14.5") | ||
| load("netcdf-c/4.9.2") | ||
| load("netcdf-fortran/4.6.1") | ||
| load("bacio/2.6.0") | ||
| load("ip/5.4.0") | ||
| load("w3emc/2.11.0") | ||
| load("esmf/8.8.0") | ||
|
|
||
| load("py-f90nml") | ||
| load("py-netcdf4/1.7.2") | ||
|
|
||
| setenv("CMAKE_C_COMPILER","cc") | ||
| setenv("CMAKE_CXX_COMPILER","CC") | ||
| setenv("CMAKE_Fortran_COMPILER","ftn") | ||
| setenv("CMAKE_Platform","ursa.intel") | ||
|
|
||
| execute{cmd="source /scratch3/BMC/gmtb/ccpp-scm-software/spack-stack-2.0.0-intel/bin/activate", modeA={"load"}} |
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 |
|---|---|---|
| @@ -1,2 +1 @@ | ||
| suites = ["SCM_GFS_v16","SCM_GFS_v16_RRTMGP","SCM_GFS_v17_p8_ugwpv1","SCM_HRRR_gf","SCM_WoFS_v0"] | ||
|
|
||
| suites = ["SCM_GFS_v16","SCM_GFS_v16_ps","SCM_GFS_v16_RRTMGP","SCM_GFS_v17_p8_ugwpv1","SCM_HRRR_gf","SCM_WoFS_v0"] | ||
Oops, something went wrong.
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.
I don't think that adding SCM_GFS_v16_ps should be necessary. Let me look.
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.
I don't think that supported_suites and supported_cases are actually used anymore by anything. I really don't understand why this was necessary.
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.
I and I believe @hertneky, use supported suites and cases as the minimum list of suites and cases to test. I didn't use them before
ifx, because I'd just use Intel to build everything at once.I agree they don't seem to be used by anything, so if they don't represent the minimum list of suites and cases we support, we might want to discuss removing these files in the SCM meeting.
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.
Ya, I think these have been entirely supplanted by suite_info.py. I think that they should be removed.
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.
Ok, I see now, thanks for the explanation! I'll add a commit removing those two files