diff --git a/scm/etc/modules/hera_gnu.lua b/scm/etc/modules/hera_gnu.lua index 0e2be6128..79543bf12 100644 --- a/scm/etc/modules/hera_gnu.lua +++ b/scm/etc/modules/hera_gnu.lua @@ -3,38 +3,27 @@ This module loads libraries for building the CCPP Single-Column Model on the NOAA RDHPC machine Hera using GNU 9.2.0 ]]) -whatis([===[Loads libraries needed for building the UFS SRW App on Hera using GNU 9.2.0 ]===]) +whatis([===[Loads libraries needed for building the CCPP SCM on Hera with GNU compilers ]===]) + +load("cmake/3.20.1") -prepend_path("MODULEPATH", "/scratch1/NCEPDEV/nems/role.epic/spack-stack/spack-stack-1.4.1/envs/unified-env/install/modulefiles/Core") prepend_path("MODULEPATH", "/scratch1/NCEPDEV/jcsda/jedipara/spack-stack/modulefiles") +prepend_path("MODULEPATH", "/scratch1/NCEPDEV/nems/role.epic/spack-stack/spack-stack-1.5.1/envs/unified-env/install/modulefiles/Core") load("stack-gcc/9.2.0") load("stack-openmpi/4.1.5") -load("stack-python/3.9.12") -load("cmake/3.23.1") +load("stack-python/3.10.8") +load("py-f90nml") +load("py-netcdf4/1.5.8") -load("netcdf/4.7.2") +load("netcdf-c/4.9.2") +load("netcdf-fortran/4.6.0") load("bacio/2.4.1") load("sp/2.3.3") -load("w3emc/2.9.2") - -load(pathJoin("nccmp", os.getenv("nccmp_ver") or "1.9.0.1")) -load(pathJoin("nco", os.getenv("nco_ver") or "5.0.6")) -load(pathJoin("openblas", os.getenv("openblas_ver") or "0.3.19")) -load("ufs-pyenv") +load("w3emc") setenv("CMAKE_C_COMPILER","mpicc") setenv("CMAKE_CXX_COMPILER","mpicxx") setenv("CMAKE_Fortran_COMPILER","mpif90") setenv("CMAKE_Platform","hera.gnu") - -prepend_path("MODULEPATH","/scratch1/NCEPDEV/nems/role.epic/miniconda3/modulefiles") -load(pathJoin("miniconda3", os.getenv("miniconda3_ver") or "4.12.0")) - -if mode() == "load" then - LmodMsgRaw([===[Please do the following to activate conda: - > conda activate /scratch1/BMC/gmtb/SCM_anaconda/envs/pyccpp -]===]) -end - diff --git a/scm/etc/modules/hera_intel.lua b/scm/etc/modules/hera_intel.lua index f0a1b1b1a..4c55a5340 100644 --- a/scm/etc/modules/hera_intel.lua +++ b/scm/etc/modules/hera_intel.lua @@ -3,7 +3,7 @@ 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 ]===]) +whatis([===[Loads libraries needed for building the CCPP SCM on Hera with Intel compilers ]===]) load("cmake/3.20.1")