-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update hera intel module to use spack-stack 1.5.1
- Loading branch information
Showing
1 changed file
with
12 additions
and
29 deletions.
There are no files selected for viewing
This file contains 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,46 +1,29 @@ | ||
help([[ | ||
This module loads libraries for building the CCPP Single-Column Model on | ||
the NOAA RDHPC machine Hera using Intel-2022.1.2 | ||
the NOAA RDHPC machine Hera using Intel-2021.5.0 | ||
]]) | ||
|
||
whatis([===[Loads libraries needed for building the CCPP SCM on Hera ]===]) | ||
|
||
prepend_path("MODULEPATH","/contrib/sutils/modulefiles") | ||
load("sutils") | ||
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/nems/role.epic/spack-stack/spack-stack-1.5.1/envs/unified-env/install/modulefiles/Core") | ||
prepend_path("MODULEPATH", "/scratch1/NCEPDEV/jcsda/jedipara/spack-stack/modulefiles") | ||
|
||
stack_intel_ver=os.getenv("stack_intel_ver") or "2021.5.0" | ||
load(pathJoin("stack-intel", stack_intel_ver)) | ||
load("stack-intel/2021.5.0") | ||
load("stack-intel-oneapi-mpi") | ||
load("stack-python/3.10.8") | ||
load("py-f90nml") | ||
load("py-netcdf4/1.5.8") | ||
|
||
stack_impi_ver=os.getenv("stack_impi_ver") or "2021.5.1" | ||
load(pathJoin("stack-intel-oneapi-mpi", stack_impi_ver)) | ||
|
||
cmake_ver=os.getenv("cmake_ver") or "3.20.1" | ||
load(pathJoin("cmake", cmake_ver)) | ||
|
||
load_any("netcdf/4.9.2","netcdf-c/4.9.2") | ||
load_any("netcdf/4.9.2","netcdf-fortran/4.6.0") | ||
|
||
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 "4.9.3")) | ||
load("ufs-pyenv") | ||
load("w3emc") | ||
|
||
setenv("CMAKE_C_COMPILER","mpiicc") | ||
setenv("CMAKE_CXX_COMPILER","mpiicpc") | ||
setenv("CMAKE_Fortran_COMPILER","mpiifort") | ||
setenv("CMAKE_Platform","hera.intel") | ||
|
||
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 | ||
|