forked from ufs-community/ufs-srweather-app
-
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.
[develop] Add build_hera_gnu.lua file. Completes ufs-community#476.
- Loading branch information
1 parent
b839658
commit d4ceeca
Showing
1 changed file
with
27 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,27 @@ | ||
help([[ | ||
This module loads libraries for building the UFS SRW App on | ||
the NOAA RDHPC machine Hera using GNU 9.2.0 | ||
]]) | ||
|
||
whatis([===[Loads libraries needed for building the UFS SRW App on Hera using GNU 9.2.0 ]===]) | ||
|
||
prepend_path("MODULEPATH","/contrib/sutils/modulefiles") | ||
load("sutils") | ||
|
||
load(pathJoin("cmake", os.getenv("cmake_ver") or "3.20.1")) | ||
|
||
prepend_path("MODULEPATH", "/scratch2/NCEPDEV/nwprod/hpc-stack/libs/hpc-stack/modulefiles/stack") | ||
|
||
load(pathJoin("hpc", os.getenv("hpc_ver") or "1.2.0")) | ||
load(pathJoin("hpc-gnu", os.getenv("hpc-gnu_ver") or "9.2.0")) | ||
load(pathJoin("hpc-mpich", os.getenv("hpc-mpich_ver") or "3.3.2")) | ||
|
||
load("srw_common") | ||
|
||
load(pathJoin("nccmp", os.getenv("nccmp_ver") or "1.8.7")) | ||
load(pathJoin("nco", os.getenv("nco_ver") or "4.9.3")) | ||
|
||
setenv("CMAKE_C_COMPILER","mpicc") | ||
setenv("CMAKE_CXX_COMPILER","mpicxx") | ||
setenv("CMAKE_Fortran_COMPILER","mpif90") | ||
setenv("CMAKE_Platform","hera.gnu") |