From b3d781c2b69f49605c23998c61e5604eec512791 Mon Sep 17 00:00:00 2001 From: "Benjamin.Blake EMC" Date: Thu, 3 Oct 2019 16:48:49 +0000 Subject: [PATCH] Changes to support OCONUS domains and chgres cube on WCOSS --- Externals.cfg | 2 +- rocoto/sites/wcoss_cray.ent | 12 ++++++------ rocoto/sites/wcoss_dell_p3.ent | 11 ++++++----- scripts/exregional_make_bc.sh | 2 +- scripts/exregional_make_ic.sh | 2 +- sorc/link_fix.sh | 7 +------ ush/run_commands_bc.sh | 2 +- 7 files changed, 17 insertions(+), 21 deletions(-) diff --git a/Externals.cfg b/Externals.cfg index e3477b386..21156b5d4 100644 --- a/Externals.cfg +++ b/Externals.cfg @@ -6,7 +6,7 @@ local_path = sorc/regional_utils.fd required = True [nemsfv3gfs] -branch = develop +branch = master protocol = git repo_url = gerrit:NEMSfv3gfs local_path = sorc/regional_forecast.fd diff --git a/rocoto/sites/wcoss_cray.ent b/rocoto/sites/wcoss_cray.ent index b3a95c4dd..15e3ac319 100644 --- a/rocoto/sites/wcoss_cray.ent +++ b/rocoto/sites/wcoss_cray.ent @@ -23,17 +23,17 @@ 103:00:00"> - 1:ppn=1:tpp=1TOTAL_TASKS1NCTSK1OMP_THREADS100:15:00"> + 4:ppn=4:tpp=1TOTAL_TASKS16NCTSK4OMP_THREADS100:15:00"> - 20:ppn=1:tpp=1TOTAL_TASKS20NCTSK1OMP_THREADS2400:30:00"> + 4:ppn=4:tpp=1TOTAL_TASKS16NCTSK4OMP_THREADS100:50:00"> NCTSK12OMP_THREADS202:40:00"> - 6:ppn=12:tpp=2TOTAL_TASKS72&FORECAST_EXTRA;"> + 6:ppn=12:tpp=2TOTAL_TASKS72TASK_X6TASK_Y10WG1WTPG12&FORECAST_EXTRA;"> 76:ppn=12:tpp=2TOTAL_TASKS912TASK_X16TASK_Y48WG3WTPG48&FORECAST_EXTRA;"> - 60:ppn=12:tpp=2TOTAL_TASKS720&FORECAST_EXTRA;"> - 9:ppn=12:tpp=2TOTAL_TASKS108&FORECAST_EXTRA;"> - 6:ppn=12:tpp=2TOTAL_TASKS72&FORECAST_EXTRA;"> + 60:ppn=12:tpp=2TOTAL_TASKS720TASK_X14TASK_Y48WG2WTPG24&FORECAST_EXTRA;"> + 9:ppn=12:tpp=2TOTAL_TASKS108TASK_X8TASK_Y12WG1WTPG12&FORECAST_EXTRA;"> + 6:ppn=12:tpp=2TOTAL_TASKS72 TASK_X6TASK_Y10WG1WTPG12&FORECAST_EXTRA;"> NCTSK24OMP_THREADS100:20:00"> 3:ppn=24TOTAL_TASKS72&POST_EXTRA;"> diff --git a/rocoto/sites/wcoss_dell_p3.ent b/rocoto/sites/wcoss_dell_p3.ent index fcb444729..86fd5e433 100644 --- a/rocoto/sites/wcoss_dell_p3.ent +++ b/rocoto/sites/wcoss_dell_p3.ent @@ -25,14 +25,15 @@ 1:ppn=1:tpp=24TOTAL_TASKS24OMP_THREADS100:30:00-R affinity[core]"> - 20:ppn=1TOTAL_TASKS480OMP_THREADS100:30:00-R affinity[core]"> + 1:ppn=1:tpp=24TOTAL_TASKS24OMP_THREADS101:30:00-R affinity[core]"> NCTSK12OMP_THREADS201:30:00-R affinity[core\(2\):distribute=balance]"> 76:ppn=12:tpp=2TOTAL_TASKS912TASK_X16TASK_Y48WG3WTPG48&FORECAST_EXTRA;"> - 60:ppn=12:tpp=2TOTAL_TASKS720&FORECAST_EXTRA;"> - 6:ppn=12:tpp=2TOTAL_TASKS72&FORECAST_EXTRA;"> - 9:ppn=12:tpp=2TOTAL_TASKS108&FORECAST_EXTRA;"> - 6:ppn=12:tpp=2TOTAL_TASKS72&FORECAST_EXTRA;"> + 60:ppn=12:tpp=2TOTAL_TASKS720TASK_X14TASK_Y48WG2WTPG24&FORECAST_EXTRA;"> + 9:ppn=12:tpp=2TOTAL_TASKS108TASK_X8TASK_Y12WG1WTPG12&FORECAST_EXTRA;"> + 6:ppn=12:tpp=2TOTAL_TASKS72 TASK_X6TASK_Y10WG1WTPG12&FORECAST_EXTRA;"> + 6:ppn=12:tpp=2TOTAL_TASKS72TASK_X6TASK_Y10WG1WTPG12&FORECAST_EXTRA;"> + NCTSK14OMP_THREADS100:20:00-R affinity[core]"> 2:ppn=14TOTAL_TASKS28&POST_EXTRA;"> diff --git a/scripts/exregional_make_bc.sh b/scripts/exregional_make_bc.sh index 21783f0dc..e26ed5eff 100755 --- a/scripts/exregional_make_bc.sh +++ b/scripts/exregional_make_bc.sh @@ -87,7 +87,7 @@ cat <fort.41 / EOF - time ${APRUNC} -l ./regional_chgres_cube.x + time ${APRUNC} ./regional_chgres_cube.x hour=`expr $hour + $hour_inc` # diff --git a/scripts/exregional_make_ic.sh b/scripts/exregional_make_ic.sh index f86ba040f..48ca339c6 100755 --- a/scripts/exregional_make_ic.sh +++ b/scripts/exregional_make_ic.sh @@ -73,7 +73,7 @@ cat <fort.41 / EOF -time ${APRUNC} -l ./regional_chgres_cube.x +time ${APRUNC} ./regional_chgres_cube.x # # move output files to save directory diff --git a/sorc/link_fix.sh b/sorc/link_fix.sh index 4602e6580..af58f5c33 100755 --- a/sorc/link_fix.sh +++ b/sorc/link_fix.sh @@ -3,12 +3,7 @@ set -xeu source ./machine-setup.sh > /dev/null 2>&1 -LINK="ln -sf" -if [[ $# -ge 1 ]]; then - if [[ $1 = "nco" ]]; then - LINK="cp -rp" - fi -fi +LINK="cp -rp" pwd=$(pwd -P) diff --git a/ush/run_commands_bc.sh b/ush/run_commands_bc.sh index 518cea81a..ec2d6a2ff 100644 --- a/ush/run_commands_bc.sh +++ b/ush/run_commands_bc.sh @@ -18,7 +18,7 @@ if [ "$machine" = wcoss_cray ]; then elif [ "$machine" = wcoss_dell_p3 ]; then export APRUNS=${APRUNS:-"time"} export APRUNF=${APRUNF:-"mpirun cfp"} - export APRUNC=${APRUNC:-"time"} + export APRUNC=${APRUNC:-"mpirun"} export APRUNO="time" export BACKGROUND="" elif [ "$machine" = hera ]; then