Skip to content

Commit

Permalink
Update system for running on WCOSS P3. (ufs-community#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
hu5970 authored Mar 1, 2022
1 parent fc83672 commit 8202439
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 15 deletions.
8 changes: 4 additions & 4 deletions scripts/exregional_run_analysis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ case $MACHINE in
module list
ulimit -s unlimited
ulimit -a
APRUN="mpirun -l -np ${PE_MEMBER01}"
APRUN="mpirun -l"
;;
#
"WCOSS_DELL_P3")
Expand All @@ -91,15 +91,15 @@ case $MACHINE in
module list
ulimit -s unlimited
ulimit -a
APRUN="mpirun -l -np ${PE_MEMBER01}"
APRUN="mpirun -l"
;;
#
"THEIA")
#
ulimit -s unlimited
ulimit -a
np=${SLURM_NTASKS}
APRUN="mpirun -np ${np}"
APRUN="mpirun"
;;
#
"HERA")
Expand Down Expand Up @@ -132,7 +132,7 @@ case $MACHINE in

ulimit -s unlimited
ulimit -a
APRUN="srun -n ${PE_MEMBER01}"
APRUN="srun"
;;
#
esac
Expand Down
14 changes: 11 additions & 3 deletions ush/config.sh.RRFS_CONUS_3km
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,19 @@ if [[ $MACHINE == "hera" ]] ; then
PARTITION_FCST=""
QUEUE_ANALYSIS="batch"
fi

if [[ $MACHINE == "orion" ]] ; then
ACCOUNT=ztrr
QUEUE_ANALYSIS="batch"
fi

if [[ $MACHINE == "wcoss_dell_p3" ]] ; then
ACCOUNT=HRRR-T2O
QUEUE_ANALYSIS="dev"
QUEUE_HPSS="dev"
QUEUE_WGRIB2="dev"
fi

VERBOSE="TRUE"

RUN_ENVIR="nco"
Expand All @@ -35,11 +43,11 @@ TILE_LABELS="CONUS REGIONS"
TILE_SETS="full NE,NC,NW,SE,SC,SW"

DO_DACYCLE="TRUE"
#DO_SURFACE_CYCLE="TRUE"
DO_SURFACE_CYCLE="TRUE"
DO_SPINUP="TRUE"
DO_RETRO="TRUE"
DO_NONVAR_CLDANAL="TRUE"
DO_REFL2TTEN="TRUE"
DO_NONVAR_CLDANAL="FALSE"
DO_REFL2TTEN="FALSE"
RADARREFL_TIMELEVEL=(0 15 30 45)
FH_DFI_RADAR="0.0,0.25,0.5"

Expand Down
6 changes: 0 additions & 6 deletions ush/config.sh.RRFS_NA_3km
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,3 @@ COMINgfs=""
STMP="/lfs4/BMC/nrtrr/NCO_dirs/stmp" # Path to directory STMP that mostly contains input files.
PTMP="/lfs4/BMC/nrtrr/NCO_dirs/ptmp" # Path to directory STMP that mostly contains input files.
NWGES="/lfs4/BMC/nrtrr/NCO_dirs/nwges" # Path to directory NWGES that save boundary, cold initial, restart files

if [[ $MACHINE == "WCOSS_DELL_P3" ]] ; then
STMP="/gpfs/dell1/ptmp/Shun.Liu/stmp" # Path to directory STMP that mostly contains input file
PTMP="/gpfs/dell1/ptmp/Shun.Liu/ptmp" # Path to directory STMP that mostly contains input files.
NWGES="/gpfs/dell1/ptmp/Shun.Liu/nwges" # Path to directory NWGES that save boundary, cold initial, restart files
fi
3 changes: 3 additions & 0 deletions ush/set_rrfs_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@ if [[ $MACHINE == "hera" ]] ; then
fi

if [[ $MACHINE == "wcoss_dell_p3" ]] ; then
EXTRN_MDL_SOURCE_BASEDIR_ICS=/gpfs/dell1/nco/ops/com/gfs/prod
EXTRN_MDL_SOURCE_BASEDIR_LBCS=/gpfs/dell1/nco/ops/com/gfs/prod
OBSPATH=/gpfs/hps/nco/ops/com/rap/prod
OBSPATH_NSSLMOSIAC=/gpfs/dell1/nco/ops/dcom/prod/ldmdata/obs/upperair/mrms/conus
ENKF_FCST=/gpfs/dell1/nco/ops/com/gfs/prod
SST_ROOT=/gpfs/dell1/nco/ops/com/gfs/prod
fi

Expand Down
5 changes: 3 additions & 2 deletions ush/templates/FV3LAM_wflow.xml
Original file line number Diff line number Diff line change
Expand Up @@ -421,9 +421,9 @@ MODULES_RUN_TASK_FP script.
<and>
{%- for h in range(extrn_mdl_lbcs_offset_hrs, boundary_len_hrs+extrn_mdl_lbcs_offset_hrs+1, bc_update_interval) %}
{%- if machine in ["WCOSS_DELL_P3", "WCOSS_CRAY"] %}
<datadep age="00:00:05:00"><cyclestr>{{ extrn_mdl_sysbasedir_ics }}/gfs.@Y@m@d/@H/atmos/[email protected]{{ "%03d" % h }}</cyclestr></datadep>
<datadep age="00:00:05:00"><cyclestr offset="-{{ extrn_mdl_lbcs_offset_hrs }}:00:00">{{ extrn_mdl_sysbasedir_ics }}/gfs.@Y@m@d/@H/atmos/[email protected]{{ "%03d" % h }}</cyclestr></datadep>
{%- elif machine in ["ORION"] %}
<datadep age="00:00:05:00"><cyclestr>{{ extrn_mdl_sysbasedir_ics }}/gdas.@Y@m@d/@H/atmos/[email protected]{{ "%03d" % h }}.nc</cyclestr></datadep>
<datadep age="00:00:05:00"><cyclestr offset="-{{ extrn_mdl_lbcs_offset_hrs }}:00:00">{{ extrn_mdl_sysbasedir_ics }}/gdas.@Y@m@d/@H/atmos/[email protected]{{ "%03d" % h }}.nc</cyclestr></datadep>
{%- else %}
{%- if extrn_mdl_name_lbcs in ["GEFS"] %}
<datadep age="00:00:05:00"> <cyclestr offset="-{{ extrn_mdl_lbcs_offset_hrs }}:00:00">{{ extrn_mdl_sysbasedir_lbcs }}/#subdirGE#/@y@j@H000{{ "%03d" % h }}</cyclestr></datadep>
Expand Down Expand Up @@ -1277,6 +1277,7 @@ MODULES_RUN_TASK_FP script.
<envar><name>LOGDIR</name><value>&LOGDIR;</value></envar>
<envar><name>CDATE</name><value><cyclestr>@Y@m@d@H</cyclestr></value></envar>
<envar><name>NWGES_BASEDIR</name><value><cyclestr>&NWGES_BASEDIR;</cyclestr></value></envar>
<envar><name>SLASH_ENSMEM_SUBDIR</name><value><cyclestr></cyclestr></value></envar>

</task>

Expand Down

0 comments on commit 8202439

Please sign in to comment.