Skip to content

Commit bd11fc7

Browse files
authored
Merge pull request #563 from grantfirl/spack-stack-1.9.0
Try spack-stack 1.9.0 on Hera for unifying python environment
2 parents be068fd + 6b48e0c commit bd11fc7

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
help([[
2+
This module loads libraries for building the CCPP Single-Column Model on
3+
the NOAA RDHPC machine Hera using GNU 13.2
4+
]])
5+
6+
whatis([===[Loads libraries needed for building the CCPP SCM on Hera with GNU compilers ]===])
7+
8+
prepend_path("MODULEPATH", "/contrib/spack-stack/spack-stack-1.9.1/envs/ue-gcc-13.2.0/install/modulefiles/Core")
9+
10+
load("stack-gcc/13.2.0")
11+
load("stack-openmpi/4.1.6")
12+
load("stack-python/3.11.7")
13+
load("py-f90nml")
14+
load("py-netcdf4")
15+
load("cmake/3.28.1")
16+
17+
load("netcdf-c/4.9.2")
18+
load("netcdf-fortran/4.6.1")
19+
load("bacio/2.4.1")
20+
load("sp/2.5.0")
21+
load("w3emc/2.10.0")
22+
load("esmf")
23+
24+
setenv("CMAKE_C_COMPILER","mpicc")
25+
setenv("CMAKE_CXX_COMPILER","mpicxx")
26+
setenv("CMAKE_Fortran_COMPILER","mpif90")
27+
setenv("CMAKE_Platform","hera.gnu")
28+
29+
execute{cmd="source /scratch1/BMC/gmtb/ccpp-scm-software/spack-stack-1.9.1/bin/activate", modeA={"load"}}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
help([[
2+
This module loads libraries for building the CCPP Single-Column Model on
3+
the NOAA RDHPC machine Hera using Intel-2021.5.0
4+
]])
5+
6+
whatis([===[Loads libraries needed for building the CCPP SCM on Hera with Intel compilers ]===])
7+
8+
prepend_path("MODULEPATH", "/contrib/spack-stack/spack-stack-1.9.1/envs/ue-oneapi-2024.2.1/install/modulefiles/Core/")
9+
10+
load("stack-oneapi/2024.2.1")
11+
load("stack-intel-oneapi-mpi/2021.13")
12+
load("stack-python/3.11.7")
13+
load("py-f90nml")
14+
load("py-netcdf4")
15+
load("cmake/3.28.1")
16+
17+
load("netcdf-c/4.9.2")
18+
load("netcdf-fortran/4.6.1")
19+
load("bacio/2.4.1")
20+
load("sp/2.5.0")
21+
load("w3emc/2.10.0")
22+
load("esmf")
23+
24+
setenv("CMAKE_C_COMPILER","mpiicc")
25+
setenv("CMAKE_CXX_COMPILER","mpiicpc")
26+
setenv("CMAKE_Fortran_COMPILER","mpiifort")
27+
setenv("CMAKE_Platform","hera.intel")
28+
29+
execute{cmd="source /scratch1/BMC/gmtb/ccpp-scm-software/spack-stack-1.9.1/bin/activate", modeA={"load"}}

0 commit comments

Comments
 (0)