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.
Add/fix build capability for Gaea-C5, Gaea-C6, and container (NOAA-EM…
- Loading branch information
1 parent
7b84bbf
commit 2136b87
Showing
10 changed files
with
322 additions
and
34 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,28 @@ | ||
help([[ | ||
]]) | ||
|
||
prepend_path("MODULEPATH", "/opt/spack-stack/spack-stack-1.8.0/envs/unified-env/install/modulefiles/Core") | ||
|
||
local stack_intel_ver=os.getenv("stack_intel_ver") or "2021.10.0" | ||
local stack_impi_ver=os.getenv("stack_impi_ver") or "2021.12.2" | ||
local cmake_ver=os.getenv("cmake_ver") or "3.27.9" | ||
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("cmake", cmake_ver)) | ||
|
||
load("gsi_common") | ||
load(pathJoin("prod_util", prod_util_ver)) | ||
|
||
pushenv("CFLAGS", "-march=ivybridge") | ||
pushenv("FFLAGS", "-march=ivybridge") | ||
|
||
setenv("CC","mpiicc") | ||
setenv("CXX","mpiicpc") | ||
setenv("FC","mpiifort") | ||
setenv("F90","mpiifort") | ||
setenv("F77","mpiifort") | ||
pushenv("USE_BUFR4", "YES") | ||
|
||
whatis("Description: GSI environment in a container 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
help([[ | ||
]]) | ||
|
||
--prepend_path("MODULEPATH", "/ncrc/proj/epic/spack-stack/spack-stack-1.6.0/envs/gsi-addon-dev/install/modulefiles/Core") | ||
prepend_path("MODULEPATH", "/ncrc/proj/epic/spack-stack/c6/spack-stack-1.6.0/envs/gsi-addon/install/modulefiles/Core") | ||
|
||
local stack_python_ver=os.getenv("stack_python_ver") or "3.11.6" | ||
local stack_intel_ver=os.getenv("stack_intel_ver") or "2023.2.0" | ||
local stack_cray_mpich_ver=os.getenv("stack_cray_mpich_ver") or "8.1.29" | ||
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") | ||
load(pathJoin("prod_util", prod_util_ver)) | ||
|
||
pushenv("GSI_BINARY_SOURCE_DIR", "/gpfs/f6/bil-fire8/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 GaeaC6 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
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
Oops, something went wrong.