-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add module file to compile on AWS (#742)
- Loading branch information
1 parent
a3a2633
commit 38bdb95
Showing
2 changed files
with
29 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
help([[ | ||
]]) | ||
|
||
prepend_path("MODULEPATH", "/contrib/spack-stack/spack-stack-1.6.0/envs/gsi-addon-env/install/modulefiles/Core") | ||
|
||
local python_ver=os.getenv("python_ver") or "3.10.13" | ||
local stack_intel_ver=os.getenv("stack_intel_ver") or "2021.3.0" | ||
local stack_impi_ver=os.getenv("stack_impi_ver") or "2021.3.0" | ||
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-intel-oneapi-mpi", stack_impi_ver)) | ||
load(pathJoin("python", python_ver)) | ||
load(pathJoin("cmake", cmake_ver)) | ||
|
||
load("gsi_common") | ||
load(pathJoin("prod_util", prod_util_ver)) | ||
|
||
pushenv("CFLAGS", "-xHOST") | ||
pushenv("FFLAGS", "-xHOST") | ||
|
||
pushenv("GSI_BINARY_SOURCE_DIR", "/contrib/Wei.Huang/data/hack-orion/fix/gsi/20240208") | ||
|
||
whatis("Description: GSI environment on NOAA Cloud 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