forked from NOAA-EMC/GSI
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update module files to build gsi on Gaea-C5 (NOAA-EMC#746)
- Loading branch information
1 parent
ebeaba1
commit 59d7578
Showing
5 changed files
with
38 additions
and
54 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,42 +1,32 @@ | ||
help([[ | ||
]]) | ||
|
||
unload("intel") | ||
unload("cray-mpich") | ||
unload("cray-python") | ||
unload("darshan") | ||
prepend_path("MODULEPATH", "/ncrc/proj/epic/spack-stack/spack-stack-1.6.0/envs/gsi-addon-dev/install/modulefiles/Core") | ||
|
||
prepend_path("MODULEPATH", "/lustre/f2/dev/wpo/role.epic/contrib/spack-stack/spack-stack-1.4.1-c4/envs/unified-env/install/modulefiles/Core") | ||
prepend_path("MODULEPATH", "/lustre/f2/pdata/esrl/gsd/spack-stack/modulefiles") | ||
|
||
local stack_python_ver=os.getenv("stack_python_ver") or "3.9.12" | ||
local stack_intel_ver=os.getenv("stack_intel_ver") or "2022.0.2" | ||
local stack_cray_mpich_ver=os.getenv("stack_cray_mpich_ver") or "7.7.20" | ||
local stack_python_ver=os.getenv("stack_python_ver") or "3.11.6" | ||
local stack_intel_ver=os.getenv("stack_intel_ver") or "2023.1.0" | ||
local stack_cray_mpich_ver=os.getenv("stack_cray_mpich_ver") or "8.1.25" | ||
local cmake_ver=os.getenv("cmake_ver") or "3.23.1" | ||
local prod_util_ver=os.getenv("prod_util_ver") or "2.1.1" | ||
|
||
load(pathJoin("stack-intel", stack_intel_ver)) | ||
load(pathJoin("stack-cray-mpich", stack_cray_mpich_ver)) | ||
load(pathJoin("stack-python", stack_python_ver)) | ||
load(pathJoin("cmake", cmake_ver)) | ||
|
||
load("gsi_common") | ||
|
||
local prod_util_ver=os.getenv("prod_util_ver") or "1.2.2" | ||
load(pathJoin("prod-util", prod_util_ver)) | ||
|
||
-- Needed at runtime: | ||
load("alps") | ||
load(pathJoin("prod_util", prod_util_ver)) | ||
|
||
local MKLROOT="/opt/intel/oneapi/mkl/2022.0.2/" | ||
prepend_path("LD_LIBRARY_PATH",pathJoin(MKLROOT,"lib/intel64")) | ||
pushenv("MKLROOT", MKLROOT) | ||
|
||
pushenv("GSI_BINARY_SOURCE_DIR", "/lustre/f2/dev/role.epic/contrib/GSI_data/fix/20240208") | ||
pushenv("GSI_BINARY_SOURCE_DIR", "/gpfs/f5/ufs-ard/world-shared/GSI_data/fix/gsi/20240208") | ||
|
||
setenv("CC","cc") | ||
setenv("FC","ftn") | ||
setenv("CXX","CC") | ||
pushenv("CRAYPE_LINK_TYPE","dynamic") | ||
|
||
unload("cray-libsci") | ||
whatis("Description: GSI environment on Gaea with Intel Compilers") | ||
|
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
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
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
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