Skip to content

Commit

Permalink
Merge pull request #84 from JeffBeck-NOAA/community_develop
Browse files Browse the repository at this point in the history
Commit to add Hera support
  • Loading branch information
JeffBeck-NOAA authored Sep 5, 2019
2 parents 22ceff7 + c2884ff commit be58cec
Show file tree
Hide file tree
Showing 10 changed files with 154 additions and 4 deletions.
33 changes: 33 additions & 0 deletions jobs/JREGIONAL_MAKE_IC_LOWBC
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,39 @@ case "$MACHINE" in
{ restore_shell_opts; } > /dev/null 2>&1
;;
#
"HERA")
#
{ save_shell_opts; set +x; } > /dev/null 2>&1

ulimit -s unlimited
# ulimit -a

module purge
module load intel/18.0.5.274
module load impi/2018.0.4
module load netcdf/4.6.1

module use /scratch1/NCEPDEV/nems/emc.nemspara/soft/modulefiles
module load esmf/8.0.0bs21

module use -a /scratch2/NCEPDEV/nwprod/NCEPLIBS/modulefiles
module load w3nco
module load nemsio
module load bacio
module load sp
module load sfcio
module load sigio

module contrib wrap-mpi

module list

np=${SLURM_NTASKS}
APRUN="mpirun -np ${np}"

{ restore_shell_opts; } > /dev/null 2>&1
;;
#
"JET")
#
{ save_shell_opts; set +x; } > /dev/null 2>&1
Expand Down
34 changes: 34 additions & 0 deletions jobs/JREGIONAL_MAKE_LBC1_TO_LBCN
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,40 @@ case "$MACHINE" in
{ restore_shell_opts; } > /dev/null 2>&1
;;
#
"HERA")
#
{ save_shell_opts; set +x; } > /dev/null 2>&1

ulimit -s unlimited
# ulimit -a

module purge
module load intel/18.0.5.274
module load impi/2018.0.4
module load netcdf/4.6.1

module use /scratch1/NCEPDEV/nems/emc.nemspara/soft/modulefiles
module load esmf/8.0.0bs21

module use -a /scratch2/NCEPDEV/nwprod/NCEPLIBS/modulefiles
module load w3nco
module load nemsio
module load bacio
module load sp
module load sfcio
module load sigio

module contrib wrap-mpi

module list

np=${SLURM_NTASKS}
APRUN="mpirun -np ${np}"

{ restore_shell_opts; } > /dev/null 2>&1
;;

#
"JET")
#
{ save_shell_opts; set +x; } > /dev/null 2>&1
Expand Down
1 change: 0 additions & 1 deletion modulefiles/regional_workflow/orog.hera
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
# Loading Intel Compiler Suite
module purge
module load intel/18.0.5.274

module load netcdf/4.6.1

# Loading nceplibs modules
Expand Down
12 changes: 12 additions & 0 deletions scripts/exregional_make_sfc_climo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,18 @@ module list
APRUN_SFC="mpirun -np ${SLURM_NTASKS}"
;;

"HERA")
module purge
module load intel/18.0.5.274
module load impi/2018.0.4
module load netcdf/4.6.1
module use /scratch1/NCEPDEV/nems/emc.nemspara/soft/modulefiles
module load esmf/7.1.0r
module contrib wrap-mpi
module list
APRUN_SFC="mpirun -np ${SLURM_NTASKS}"
;;

*)
print_err_msg_exit "${script_name}" "\
Run command has not been specified for this machine:
Expand Down
2 changes: 1 addition & 1 deletion ush/config_defaults.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN_ENVIR="nco"
#
# MACHINE:
# Machine on which the workflow will run. Valid values are "WCOSS_C",
# "WCOSS", "DELL", "THEIA", "JET", "ODIN", and "CHEYENNE". New values
# "WCOSS", "DELL", "THEIA","HERA","JET", "ODIN", and "CHEYENNE". New values
# may be added as the workflow is ported to additional machines.
#
# ACCOUNT:
Expand Down
12 changes: 12 additions & 0 deletions ush/get_extrn_mdl_file_dir_info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,9 @@ bination of external model (extrn_mdl_name) and analysis or forecast
"THEIA")
sysdir=""
;;
"HERA")
sysdir=""
;;
"JET")
sysdir=""
;;
Expand All @@ -521,6 +524,9 @@ has not been specified for this external model and machine combination:
"THEIA")
sysdir="$sysbasedir/gfs.${yyyymmdd}/${hh}"
;;
"HERA")
sysdir="$sysbasedir/gfs.${yyyymmdd}/${hh}"
;;
"JET")
sysdir="$sysbasedir/${yyyymmdd}"
;;
Expand All @@ -547,6 +553,9 @@ has not been specified for this external model and machine combination:
"THEIA")
sysdir="$sysbasedir"
;;
"HERA")
sysdir="$sysbasedir"
;;
"JET")
sysdir="$sysbasedir"
;;
Expand All @@ -573,6 +582,9 @@ has not been specified for this external model and machine combination:
"THEIA")
sysdir="$sysbasedir"
;;
"HERA")
sysdir="$sysbasedir"
;;
"JET")
sysdir="$sysbasedir"
;;
Expand Down
22 changes: 21 additions & 1 deletion ush/make_grid_orog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,26 @@ case $MACHINE in
ulimit -a
;;

"HERA")
#
{ save_shell_opts; set +x; } > /dev/null 2>&1

. /apps/lmod/lmod/init/sh
module purge
module load intel/18.0.5.274
module load netcdf/4.6.1
module load hdf5/1.10.4
module list

{ restore_shell_opts; } > /dev/null 2>&1

export APRUN="time"
export topo_dir="/scratch1/NCEPDEV/global/glopara/fix/fix_orog"

ulimit -s unlimited
ulimit -a
;;


"JET")
#
Expand Down Expand Up @@ -562,7 +582,7 @@ $TMPDIR" \
;;


"THEIA" | "JET" | "ODIN")
"THEIA" | "HERA" | "JET" | "ODIN")
# NOTE: We undefined TMPDIR, but things still seem to work. WHY???
$USHDIR/$orog_gen_scr \
$RES $tile $WORKDIR_GRID $WORKDIR_OROG $USHDIR $topo_dir $TMPDIR || \
Expand Down
26 changes: 26 additions & 0 deletions ush/set_extrn_mdl_params.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ else
"THEIA")
EXTRN_MDL_FILES_SYSBASEDIR_ICSSURF=""
;;
"HERA")
EXTRN_MDL_FILES_SYSBASEDIR_ICSSURF=""
;;
"JET")
EXTRN_MDL_FILES_SYSBASEDIR_ICSSURF=""
;;
Expand Down Expand Up @@ -103,6 +106,9 @@ for this machine and external model combination:
"THEIA")
EXTRN_MDL_FILES_SYSBASEDIR_ICSSURF="/scratch4/NCEPDEV/rstprod/com/gfs/prod"
;;
"HERA")
EXTRN_MDL_FILES_SYSBASEDIR_ICSSURF="/scratch1/NCEPDEV/rstprod/com/gfs/prod"
;;
"JET")
EXTRN_MDL_FILES_SYSBASEDIR_ICSSURF="/lfs3/projects/hpc-wof1/ywang/regional_fv3/gfs"
;;
Expand All @@ -127,6 +133,9 @@ for this machine and external model combination:
"THEIA")
EXTRN_MDL_FILES_SYSBASEDIR_ICSSURF="/scratch4/BMC/public/data/gsd/rr/full/wrfnat"
;;
"HERA")
EXTRN_MDL_FILES_SYSBASEDIR_ICSSURF="/scratch2/BMC/public/data/gsd/rap/full/wrfnat"
;;
*)
print_err_msg_exit "\
The system directory in which to look for the files generated by the ex-
Expand All @@ -145,6 +154,9 @@ for this machine and external model combination:
"THEIA")
EXTRN_MDL_FILES_SYSBASEDIR_ICSSURF="/scratch4/BMC/public/data/gsd/hrrr/conus/wrfnat"
;;
"HERA")
EXTRN_MDL_FILES_SYSBASEDIR_ICSSURF="/scratch2/BMC/public/data/gsd/hrrr/conus/wrfnat"
;;
*)
print_err_msg_exit "\
The system directory in which to look for the files generated by the ex-
Expand Down Expand Up @@ -229,6 +241,9 @@ else
"THEIA")
EXTRN_MDL_FILES_SYSBASEDIR_LBCS=""
;;
"HERA")
EXTRN_MDL_FILES_SYSBASEDIR_LBCS=""
;;
"JET")
EXTRN_MDL_FILES_SYSBASEDIR_LBCS=""
;;
Expand Down Expand Up @@ -257,6 +272,9 @@ else
"THEIA")
EXTRN_MDL_FILES_SYSBASEDIR_LBCS="/scratch4/NCEPDEV/rstprod/com/gfs/prod"
;;
"HERA")
EXTRN_MDL_FILES_SYSBASEDIR_LBCS="/scratch1/NCEPDEV/rstprod/com/gfs/prod"
;;
"JET")
EXTRN_MDL_FILES_SYSBASEDIR_LBCS="/lfs3/projects/hpc-wof1/ywang/regional_fv3/gfs"
;;
Expand All @@ -282,6 +300,9 @@ else
"THEIA")
EXTRN_MDL_FILES_SYSBASEDIR_LBCS="/scratch4/BMC/public/data/gsd/rr/full/wrfnat"
;;
"HERA")
EXTRN_MDL_FILES_SYSBASEDIR_LBCS="/scratch2/BMC/public/data/gsd/rap/full/wrfnat"
;;
*)
print_err_msg_exit "\
The system directory in which to look for the files generated by the ex-
Expand All @@ -302,6 +323,11 @@ else
"THEIA")
EXTRN_MDL_FILES_SYSBASEDIR_LBCS="/scratch4/BMC/public/data/gsd/hrrr/conus/wrfnat"
;;
"HERA")
EXTRN_MDL_FILES_SYSBASEDIR_LBCS="/scratch2/BMC/public/data/gsd/hrrr/conus/wrfnat"
;;


*)
print_err_msg_exit "\
The system directory in which to look for the files generated by the ex-
Expand Down
14 changes: 14 additions & 0 deletions ush/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,15 @@ Then remove this message and rerun."
QUEUE_RUN_FV3SAR=${QUEUE_RUN_FV3SAR:-""}
;;
#
"HERA")
#
ncores_per_node=24
SCHED="slurm"
QUEUE_DEFAULT=${QUEUE_DEFAULT:-"batch"}
QUEUE_HPSS=${QUEUE_HPSS:-"service"}
QUEUE_RUN_FV3SAR=${QUEUE_RUN_FV3SAR:-""}
;;
#
"JET")
#
ncores_per_node=24
Expand Down Expand Up @@ -645,6 +654,11 @@ case $MACHINE in
# fi
;;

"HERA")
FIXgsm="/scratch1/NCEPDEV/global/glopara/fix/fix_am"
SFC_CLIMO_INPUT_DIR="/scratch1/NCEPDEV/da/George.Gayno/climo_fields_netcdf"
;;

"JET")
FIXgsm="/lfs3/projects/hpc-wof1/ywang/regional_fv3/fix/fix_am"
;;
Expand Down
2 changes: 1 addition & 1 deletion ush/valid_param_vals.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
valid_vals_RUN_ENVIR=("nco" "community")
valid_vals_VERBOSE=("TRUE" "true" "YES" "yes" "FALSE" "false" "NO" "no")
valid_vals_MACHINE=("WCOSS_C" "WCOSS" "DELL" "THEIA" "JET" "ODIN" "CHEYENNE")
valid_vals_MACHINE=("WCOSS_C" "WCOSS" "DELL" "THEIA" "HERA" "JET" "ODIN" "CHEYENNE")
valid_vals_predef_domain=("GSD_HAFSV0.A" "GSD_RAP13km" "GSD_HRRR25km" "GSD_HRRR13km" "GSD_HRRR3km" "EMC_CONUS" "EMC_AK")
valid_vals_CCPP=("true" "false")
valid_vals_CCPP_phys_suite=("GFS" "GSD")
Expand Down

0 comments on commit be58cec

Please sign in to comment.