-
Notifications
You must be signed in to change notification settings - Fork 21
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 (#87)
After the recent Gaea-C5 OS upgrade, gfs_utils fails to build. This corrects Gaea-C5 build, adds Gaea-C6 build capability (following ufs-wx-model [2448](ufs-community/ufs-weather-model#2448)), and adds containerized build capability. Refs NOAA-EMC/global-workflow [3011](NOAA-EMC/global-workflow#3011) Refs NOAA-EMC/global-workflow [3025](NOAA-EMC/global-workflow#3025) Resolve #86 --------- Co-authored-by: Mark A Potts <[email protected]>
- Loading branch information
1 parent
4848ecb
commit c0b6d13
Showing
8 changed files
with
86 additions
and
20 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
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,17 @@ | ||
help([[ | ||
Build environment for GFS utilities in a container | ||
]]) | ||
|
||
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.1" | ||
local cmake_ver=os.getenv("cmake_ver") or "3.27.9" | ||
|
||
load(pathJoin("stack-intel", stack_intel_ver)) | ||
load(pathJoin("stack-intel-oneapi-mpi", stack_impi_ver)) | ||
load(pathJoin("cmake", cmake_ver)) | ||
|
||
load("gfsutils_common") | ||
|
||
whatis("Description: GFS utilities environment in container with Intel Compilers") |
15 changes: 5 additions & 10 deletions
15
modulefiles/gfsutils_gaea.intel.lua → modulefiles/gfsutils_gaeac5.intel.lua
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,32 +1,27 @@ | ||
help([[ | ||
This module loads libraries required for building and running GFS UTILS | ||
on the NOAA RDHPC machine Gaea C5 using Intel-2023.1.0. | ||
on the NOAA RDHPC machine Gaea C5 using Intel-2023.2.0. | ||
]]) | ||
|
||
whatis([===[Loads libraries needed for building the UFS Weather Model on Gaea ]===]) | ||
whatis([===[Loads libraries needed for building the GFS utilities on Gaea C5]===]) | ||
|
||
prepend_path("MODULEPATH", "/ncrc/proj/epic/spack-stack/spack-stack-1.6.0/envs/unified-env/install/modulefiles/Core") | ||
prepend_path("MODULEPATH", "/ncrc/proj/epic/spack-stack/spack-stack-1.6.0/envs/gsi-addon-dev/install/modulefiles/Core") | ||
|
||
stack_intel_ver=os.getenv("stack_intel_ver") or "2023.1.0" | ||
stack_intel_ver=os.getenv("stack_intel_ver") or "2023.2.0" | ||
load(pathJoin("stack-intel", stack_intel_ver)) | ||
|
||
stack_cray_mpich_ver=os.getenv("stack_cray_mpich_ver") or "8.1.25" | ||
stack_cray_mpich_ver=os.getenv("stack_cray_mpich_ver") or "8.1.28" | ||
load(pathJoin("stack-cray-mpich", stack_cray_mpich_ver)) | ||
|
||
stack_python_ver=os.getenv("stack_python_ver") or "3.11.6" | ||
load(pathJoin("stack-python", stack_python_ver)) | ||
|
||
cmake_ver=os.getenv("cmake_ver") or "3.23.1" | ||
load(pathJoin("cmake", cmake_ver)) | ||
|
||
load("gfsutils_common") | ||
load("nccmp/1.9.0.1") | ||
|
||
unload("darshan-runtime") | ||
unload("cray-libsci") | ||
|
||
setenv("CC","cc") | ||
setenv("CXX","CC") | ||
setenv("FC","ftn") | ||
setenv("CMAKE_Platform","gaea.intel") | ||
setenv("CMAKE_Platform","gaeac5.intel") |
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,27 @@ | ||
help([[ | ||
This module loads libraries required for building and running GFS UTILS | ||
on the NOAA RDHPC machine Gaea C6 using Intel-2023.2.0. | ||
]]) | ||
|
||
whatis([===[Loads libraries needed for building the GFS utilities on Gaea C6 ]===]) | ||
|
||
prepend_path("MODULEPATH", "/ncrc/proj/epic/spack-stack/c6/spack-stack-1.6.0/envs/gsi-addon/install/modulefiles/Core") | ||
|
||
stack_intel_ver=os.getenv("stack_intel_ver") or "2023.2.0" | ||
load(pathJoin("stack-intel", stack_intel_ver)) | ||
|
||
stack_cray_mpich_ver=os.getenv("stack_cray_mpich_ver") or "8.1.29" | ||
load(pathJoin("stack-cray-mpich", stack_cray_mpich_ver)) | ||
|
||
cmake_ver=os.getenv("cmake_ver") or "3.23.1" | ||
load(pathJoin("cmake", cmake_ver)) | ||
|
||
load("gfsutils_common") | ||
load("nccmp/1.9.0.1") | ||
|
||
unload("cray-libsci") | ||
|
||
setenv("CC","cc") | ||
setenv("CXX","CC") | ||
setenv("FC","ftn") | ||
setenv("CMAKE_Platform","gaeac6.intel") |
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