diff --git a/modulefiles/gfsutils_noaacloud.intel.lua b/modulefiles/gfsutils_noaacloud.intel.lua index 8a584ea0..028ca7b8 100644 --- a/modulefiles/gfsutils_noaacloud.intel.lua +++ b/modulefiles/gfsutils_noaacloud.intel.lua @@ -4,9 +4,12 @@ Build environment for GFS utilities on NOAA Cloud prepend_path("MODULEPATH", "/contrib/spack-stack-rocky8/spack-stack-1.6.0/envs/gsi-addon-env/install/modulefiles/Core") prepend_path("MODULEPATH", "/apps/modules/modulefiles") + load("gnu") -load("stack-intel") -load("stack-intel-oneapi-mpi") +stack_intel_ver=os.getenv("stack_intel_ver") or "2021.10.0" +load(pathJoin("stack-intel", stack_intel_ver)) +stack_impi_ver=os.getenv("stack_impi_ver") or "2021.10.0" +load(pathJoin("stack-intel-oneapi-mpi", stack_impi_ver)) unload("gnu") local cmake_ver=os.getenv("cmake_ver") or "3.23.1"