Skip to content

Commit

Permalink
Pull in config changes from NCO v16.0.7 install
Browse files Browse the repository at this point in the history
- add line to config.fcst to allow running gdas and gfs with different threading
- add nth_fv3_gfs to config.fv3 to support different threading for gfs
- changes to post settings in config.resources to make post use all tasks on a node
and speed up post jobs

Refs: #1,#238
  • Loading branch information
KateFriedman-NOAA committed Feb 24, 2021
1 parent 9629e98 commit 3786256
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 8 deletions.
10 changes: 6 additions & 4 deletions parm/config/config.fcst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ echo "BEGIN: config.fcst"

# Source model specific information that is resolution dependent
. $EXPDIR/config.fv3 $CASE
[[ "$CDUMP" == "gfs" ]] && export nth_fv3=$nth_fv3_gfs

# Get task specific resources
. $EXPDIR/config.resources fcst
Expand Down Expand Up @@ -245,13 +246,14 @@ elif [[ "$CDUMP" == "gfs" ]] ; then # GFS cycle specific parameters
# Write each restart file in 16 small files to save time
export io_layout="4,4"

# Debug load balancing
#export KEEPDATA="YES"
#export ESMF_RUNTIME_PROFILE=ON
#export ESMF_RUNTIME_PROFILE_OUTPUT=SUMMARY

fi

## Debug load balancing
# export KEEPDATA="YES"
# export ESMF_RUNTIME_PROFILE=ON
# export ESMF_RUNTIME_PROFILE_OUTPUT=SUMMARY


# Regrid tiles to global Gaussian grid in NEMSIO
export REGRID_NEMSIO_SH="$HOMEgfs/ush/fv3gfs_regrid_nemsio.sh"
Expand Down
11 changes: 9 additions & 2 deletions parm/config/config.fv3
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ case $case_in in
export npe_wav=14
export npe_wav_gfs=14
export nth_fv3=1
export nth_fv3_gfs=1
export cdmbgwd="0.071,2.1,1.0,1.0" # mountain blocking, ogwd, cgwd, cgwd src scaling
export WRITE_GROUP=1
export WRTTASK_PER_GROUP=$npe_node_max
Expand All @@ -60,6 +61,7 @@ case $case_in in
export npe_wav=14
export npe_wav_gfs=14
export nth_fv3=1
export nth_fv3_gfs=1
export cdmbgwd="0.14,1.8,1.0,1.0" # mountain blocking, ogwd, cgwd, cgwd src scaling
export WRITE_GROUP=1
export WRTTASK_PER_GROUP=$npe_node_max
Expand All @@ -76,6 +78,7 @@ case $case_in in
export npe_wav=21
export npe_wav_gfs=21
export nth_fv3=2
export nth_fv3_gfs=2
export cdmbgwd="0.23,1.5,1.0,1.0" # mountain blocking, ogwd, cgwd, cgwd src scaling
export WRITE_GROUP=1
export WRTTASK_PER_GROUP=$npe_node_max
Expand All @@ -92,6 +95,7 @@ case $case_in in
export npe_wav=35
export npe_wav_gfs=35
export nth_fv3=1
export nth_fv3_gfs=1
export cdmbgwd="1.1,0.72,1.0,1.0" # mountain blocking, ogwd, cgwd, cgwd src scaling
export WRITE_GROUP=1
export WRTTASK_PER_GROUP=$npe_node_max
Expand All @@ -104,10 +108,11 @@ case $case_in in
export layout_x=8
export layout_y=12
export layout_x_gfs=16
export layout_y_gfs=24
export layout_y_gfs=16
export npe_wav=140
export npe_wav_gfs=630
export npe_wav_gfs=440
export nth_fv3=4
export nth_fv3_gfs=7
export cdmbgwd="4.0,0.15,1.0,1.0" # mountain blocking, ogwd, cgwd, cgwd src scaling
export WRITE_GROUP=2
export WRTTASK_PER_GROUP=$(echo "2*$npe_node_max" |bc)
Expand All @@ -124,6 +129,7 @@ case $case_in in
export npe_wav=140
export npe_wav_gfs=140
export nth_fv3=4
export nth_fv3_gfs=4
export cdmbgwd="4.0,0.10,1.0,1.0" # mountain blocking, ogwd, cgwd, cgwd src scaling
export WRITE_GROUP=4
export WRTTASK_PER_GROUP=$(echo "2*$npe_node_max" |bc)
Expand All @@ -140,6 +146,7 @@ case $case_in in
export npe_wav=140
export npe_wav_gfs=140
export nth_fv3=4
export nth_fv3_gfs=4
export cdmbgwd="4.0,0.05,1.0,1.0" # mountain blocking, ogwd, cgwd, cgwd src scaling
export WRITE_GROUP=4
export WRTTASK_PER_GROUP=$(echo "3*$npe_node_max" |bc)
Expand Down
4 changes: 2 additions & 2 deletions parm/config/config.resources
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,11 @@ elif [ $step = "post" ]; then

export wtime_post="02:00:00"
export wtime_post_gfs="06:00:00"
export npe_post=96
export npe_post=112
export nth_post=1
export npe_node_post=12
export npe_node_dwn=$npe_node_max
if [[ "$machine" = "WCOSS_DELL_P3" ]]; then export npe_node_post=14 ; fi
if [[ "$machine" = "WCOSS_DELL_P3" ]]; then export npe_node_post=28 ; fi
if [[ "$machine" == "WCOSS_C" ]]; then export memory_post="3072M"; fi

elif [ $step = "wafs" ]; then
Expand Down

0 comments on commit 3786256

Please sign in to comment.