-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[develop] Adding Hercules as a Tier-1 platform (#911)
Modulefiles and other configuration files to adapt the SRW to Hercules system at MSU. --------- Co-authored-by: Natalie Perlin <nperlin@hercules-login-1.hpc.msstate.edu> Co-authored-by: Natalie Perlin <nperlin@hercules-login-4.hpc.msstate.edu> Co-authored-by: Natalie Perlin <nperlin@hercules-login-2.hpc.msstate.edu>
- Loading branch information
1 parent
ec39ac6
commit 87dbf19
Showing
21 changed files
with
140 additions
and
13 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
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,30 @@ | ||
help([[ | ||
This module loads libraries for building the UFS SRW App on | ||
the MSU machine Hercules using intel-oneapi-compilers/2022.2.1 | ||
]]) | ||
|
||
whatis([===[Loads libraries needed for building the UFS SRW App on Orion ]===]) | ||
|
||
load("contrib") | ||
load("noaatools") | ||
|
||
load(pathJoin("cmake", os.getenv("cmake_ver") or "3.26.3")) | ||
|
||
prepend_path("MODULEPATH","/work/noaa/epic/role-epic/contrib/hercules/hpc-stack/intel-2022.2.1/modulefiles/stack") | ||
load(pathJoin("hpc", os.getenv("hpc_ver") or "1.2.0")) | ||
load(pathJoin("hpc-intel-oneapi-compilers", os.getenv("hpc_intel_ver") or "2022.2.1")) | ||
load(pathJoin("hpc-intel-oneapi-mpi", os.getenv("hpc_mpi_ver") or "2021.7.1")) | ||
|
||
load("srw_common") | ||
|
||
load(pathJoin("nccmp", os.getenv("nccmp_ver") or "1.8.9.0")) | ||
load(pathJoin("nco", os.getenv("nco_ver") or "5.0.6")) | ||
|
||
setenv("CFLAGS","-diag-disable=10441") | ||
setenv("FFLAGS","-diag-disable=10441") | ||
|
||
setenv("CMAKE_C_COMPILER","mpiicc") | ||
setenv("CMAKE_CXX_COMPILER","mpiicpc") | ||
setenv("CMAKE_Fortran_COMPILER","mpiifort") | ||
setenv("CMAKE_Platform","hercules.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
load(pathJoin("nco", os.getenv("nco_ver") or "4.9.3")) | ||
load("miniconda_regional_workflow_cmaq") |
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 @@ | ||
load(pathJoin("nco", os.getenv("nco_ver") or "4.9.3")) |
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,2 @@ | ||
load(pathJoin("nco", os.getenv("nco_ver") or "4.9.3")) | ||
load("miniconda_regional_workflow_cmaq") |
4 changes: 4 additions & 0 deletions
4
modulefiles/tasks/hercules/miniconda_regional_workflow_cmaq.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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
prepend_path("MODULEPATH","/work/noaa/epic/role-epic/contrib/hercules/miniconda3/modulefiles") | ||
load(pathJoin("miniconda3", os.getenv("miniconda3_ver") or "4.12.0")) | ||
|
||
setenv("SRW_ENV", "regional_workflow_cmaq") |
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,2 @@ | ||
load(pathJoin("nco", os.getenv("nco_ver") or "4.9.3")) | ||
load("miniconda_regional_workflow_cmaq") |
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,2 @@ | ||
load(pathJoin("nco", os.getenv("nco_ver") or "4.9.3")) | ||
load("miniconda_regional_workflow_cmaq") |
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,5 @@ | ||
unload("python") | ||
append_path("MODULEPATH","/work/noaa/epic/role-epic/contrib/hercules/miniconda3/modulefiles") | ||
load(pathJoin("miniconda3", os.getenv("miniconda3_ver") or "4.12.0")) | ||
|
||
setenv("SRW_ENV", "regional_workflow") |
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 @@ | ||
load("miniconda_regional_workflow_cmaq") |
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,5 @@ | ||
unload("python") | ||
append_path("MODULEPATH","/work/noaa/epic/role-epic/contrib/hercules/miniconda3/modulefiles") | ||
load(pathJoin("miniconda3", os.getenv("miniconda3_ver") or "4.12.0")) | ||
|
||
setenv("SRW_ENV", "workflow_tools") |
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,6 @@ | ||
--[[ | ||
Compiler-specific modules are used for met and metplus libraries | ||
--]] | ||
load(pathJoin("met", os.getenv("met_ver") or "10.1.2")) | ||
load(pathJoin("metplus", os.getenv("metplus_ver") or "4.1.3")) | ||
load("python_srw") |
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,21 @@ | ||
help([[ | ||
This module loads python environement for running SRW on | ||
the MSU machine Hercules | ||
]]) | ||
|
||
whatis([===[Loads libraries needed for running SRW on Hercules ]===]) | ||
|
||
load("contrib") | ||
load("rocoto") | ||
load("set_pythonpath") | ||
|
||
unload("python") | ||
append_path("MODULEPATH","/work/noaa/epic/role-epic/contrib/hercules/miniconda3/modulefiles") | ||
load(pathJoin("miniconda3", os.getenv("miniconda3_ver") or "4.12.0")) | ||
|
||
if mode() == "load" then | ||
LmodMsgRaw([===[Please do the following to activate conda: | ||
> conda activate workflow_tools | ||
]===]) | ||
end | ||
|
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 @@ | ||
comprehensive.orion |
File renamed without changes.
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,45 @@ | ||
platform: | ||
WORKFLOW_MANAGER: rocoto | ||
NCORES_PER_NODE: 80 | ||
SCHED: slurm | ||
TEST_CCPA_OBS_DIR: /work/noaa/epic/role-epic/contrib/UFS_SRW_data/develop/obs_data/ccpa/proc | ||
TEST_MRMS_OBS_DIR: /work/noaa/epic/role-epic/contrib/UFS_SRW_data/develop/obs_data/mrms/proc | ||
TEST_NDAS_OBS_DIR: /work/noaa/epic/role-epic/contrib/UFS_SRW_data/develop/obs_data/ndas/proc | ||
DOMAIN_PREGEN_BASEDIR: /work/noaa/epic/role-epic/contrib/UFS_SRW_data/develop/FV3LAM_pregen | ||
PARTITION_DEFAULT: hercules | ||
QUEUE_DEFAULT: batch | ||
PARTITION_FCST: hercules | ||
QUEUE_FCST: batch | ||
PARTITION_HPSS: service | ||
QUEUE_HPSS: batch | ||
RUN_CMD_FCST: srun --export=ALL -n ${PE_MEMBER01} | ||
RUN_CMD_POST: srun --export=ALL | ||
RUN_CMD_PRDGEN: srun --export=ALL | ||
RUN_CMD_SERIAL: time | ||
RUN_CMD_UTILS: srun --export=ALL -n $nprocs | ||
RUN_CMD_NEXUS: srun --export=ALL | ||
RUN_CMD_AQMLBC: srun --export=ALL -n ${NUMTS} | ||
SCHED_NATIVE_CMD: --export=NONE | ||
PRE_TASK_CMDS: '{ ulimit -s unlimited; ulimit -a; }' | ||
TEST_EXTRN_MDL_SOURCE_BASEDIR: /work/noaa/epic/role-epic/contrib/UFS_SRW_data/develop/input_model_data | ||
TEST_AQM_INPUT_BASEDIR: /work/noaa/epic/role-epic/contrib/UFS_SRW_data/develop/aqm_data | ||
TEST_PREGEN_BASEDIR: /work/noaa/epic/role-epic/contrib/UFS_SRW_data/develop/FV3LAM_pregen | ||
TEST_VX_FCST_INPUT_BASEDIR: '{{ "/work/noaa/epic/role-epic/contrib/UFS_SRW_data/develop/output_data/fcst_" }}{{ "ens" if (global.NUM_ENS_MEMBERS > 0) else "det" }}{{ "/{{workflow.PREDEF_GRID_NAME}}" }}{% raw %}{% endraw %}' | ||
FIXaer: /work/noaa/epic/role-epic/contrib/UFS_SRW_data/develop/fix/fix_aer | ||
FIXgsi: /work/noaa/epic/role-epic/contrib/UFS_SRW_data/develop/fix/fix_gsi | ||
FIXgsm: /work/noaa/epic/role-epic/contrib/UFS_SRW_data/develop/fix/fix_am | ||
FIXlut: /work/noaa/epic/role-epic/contrib/UFS_SRW_data/develop/fix/fix_lut | ||
FIXorg: /work/noaa/epic/role-epic/contrib/UFS_SRW_data/develop/fix/fix_orog | ||
FIXsfc: /work/noaa/epic/role-epic/contrib/UFS_SRW_data/develop/fix/fix_sfc_climo | ||
FIXshp: /work/noaa/epic/role-epic/contrib/UFS_SRW_data/develop/NaturalEarth | ||
EXTRN_MDL_DATA_STORES: aws | ||
data: | ||
ics_lbcs: | ||
FV3GFS: | ||
nemsio: /work/noaa/epic/role-epic/contrib/UFS_SRW_data/develop/input_model_data/FV3GFS/nemsio/${yyyymmdd}${hh} | ||
grib2: /work/noaa/epic/role-epic/contrib/UFS_SRW_data/develop/input_model_data/FV3GFS/grib2/${yyyymmdd}${hh} | ||
netcdf: /work/noaa/epic/role-epic/contrib/UFS_SRW_data/develop/input_model_data/FV3GFS/netcdf/${yyyymmdd}${hh} | ||
NAM: /work/noaa/epic/role-epic/contrib/UFS_SRW_data/develop/input_model_data/NAM/${yyyymmdd}${hh} | ||
HRRR: /work/noaa/epic/role-epic/contrib/UFS_SRW_data/develop/input_model_data/HRRR/${yyyymmdd}${hh} | ||
RAP: /work/noaa/epic/role-epic/contrib/UFS_SRW_data/develop/input_model_data/RAP/${yyyymmdd}${hh} | ||
GSMGFS: /work/noaa/epic/role-epic/contrib/UFS_SRW_data/develop/input_model_data/GSMGFS/${yyyymmdd}${hh} |
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