forked from NOAA-EMC/GSI-utils
-
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…
…C#55) * Update scripts to build on Gaea-C5 and C6 * updates for container * update text in C6 module file * final adjustments to detect_machine and module-setup * update spack-stack path to C6 install --------- Co-authored-by: Mark A Potts <[email protected]>
- Loading branch information
1 parent
7837cc7
commit 4f9f082
Showing
5 changed files
with
69 additions
and
9 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,23 @@ | ||
help([[ | ||
]]) | ||
|
||
prepend_path("MODULEPATH", "/opt/spack-stack/spack-stack-1.8.0/envs/unified-env/install/modulefiles/Core") | ||
|
||
--local python_ver=os.getenv("python_ver") or "3.11.6" | ||
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("gsiutils_common") | ||
|
||
load(pathJoin("prod_util", prod_util_ver)) | ||
|
||
pushenv("CFLAGS", "-march=ivybridge") | ||
pushenv("FFLAGS", "-march=ivybridge") | ||
|
||
whatis("Description: GSI utilities 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,24 @@ | ||
help([[ | ||
]]) | ||
|
||
prepend_path("MODULEPATH", "/ncrc/proj/epic/spack-stack/c6/spack-stack-1.6.0/envs/gsi-addon/install/modulefiles/Core") | ||
|
||
local python_ver=os.getenv("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("python", python_ver)) | ||
load(pathJoin("cmake", cmake_ver)) | ||
|
||
load("gsiutils_common") | ||
|
||
load(pathJoin("prod_util", prod_util_ver)) | ||
|
||
pushenv("CFLAGS", "-xHOST") | ||
pushenv("FFLAGS", "-xHOST") | ||
|
||
whatis("Description: GSI utilities 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