Skip to content

Commit

Permalink
add experimental spack-stack 1.9.0 modulefile
Browse files Browse the repository at this point in the history
  • Loading branch information
grantfirl committed Feb 25, 2025
1 parent 9f40dd5 commit dea1726
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions scm/etc/modules/hera_intel_spack_stack_1.9.0.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
help([[
This module loads libraries for building the CCPP Single-Column Model on
the NOAA RDHPC machine Hera using Intel-2021.5.0
]])

whatis([===[Loads libraries needed for building the CCPP SCM on Hera with Intel compilers ]===])

prepend_path("MODULEPATH", "/contrib/spack-stack/spack-stack-1.9.0/envs/ue-oneapi-2024.2.1/install/modulefiles/Core/")

load("stack-oneapi/2024.2.1")
load("stack-intel-oneapi-mpi/2021.13")
load("stack-python/3.11.7")
load("py-f90nml")
load("py-netcdf4")
load("cmake/3.28.1")

load("netcdf-c/4.9.2")
load("netcdf-fortran/4.6.1")
load("bacio/2.4.1")
load("sp/2.5.0")
load("w3emc/2.10.0")
load("esmf")

setenv("CMAKE_C_COMPILER","mpiicc")
setenv("CMAKE_CXX_COMPILER","mpiicpc")
setenv("CMAKE_Fortran_COMPILER","mpiifort")
setenv("CMAKE_Platform","hera.intel")

0 comments on commit dea1726

Please sign in to comment.