From c339bd48b1fbc75868bd28aec309dcf3c9e0d04e Mon Sep 17 00:00:00 2001 From: Yunheng Wang Date: Thu, 1 Oct 2020 15:26:02 +0000 Subject: [PATCH] Wrapped global_equiv_resol exec_fp with APRUN just as other commands do and inserted CASE statements for Stampede --- scripts/exregional_make_grid.sh | 2 +- ush/get_extrn_mdl_file_dir_info.sh | 3 +++ ush/set_extrn_mdl_params.sh | 6 ++++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/scripts/exregional_make_grid.sh b/scripts/exregional_make_grid.sh index f37402c48..3c47359e1 100755 --- a/scripts/exregional_make_grid.sh +++ b/scripts/exregional_make_grid.sh @@ -429,7 +429,7 @@ cubed-sphere grid equivalent resolution does not exist: Please ensure that you've built this executable." fi -${exec_fp} "${grid_fp}" || \ +$APRUN ${exec_fp} "${grid_fp}" || \ print_err_msg_exit "\ Call to executable (exec_fp) that calculates the regional grid's global uniform cubed-sphere grid equivalent resolution returned with nonzero exit diff --git a/ush/get_extrn_mdl_file_dir_info.sh b/ush/get_extrn_mdl_file_dir_info.sh index ae1300634..47c42cea6 100755 --- a/ush/get_extrn_mdl_file_dir_info.sh +++ b/ush/get_extrn_mdl_file_dir_info.sh @@ -603,6 +603,9 @@ has not been specified for this external model and machine combination: "CHEYENNE") sysdir="$sysbasedir/gfs.${yyyymmdd}/${hh}" ;; + "STAMPEDE") + sysdir="$sysbasedir" + ;; *) print_err_msg_exit "\ The system directory in which to look for external model output files diff --git a/ush/set_extrn_mdl_params.sh b/ush/set_extrn_mdl_params.sh index 02fbbbf00..7a5b8104d 100644 --- a/ush/set_extrn_mdl_params.sh +++ b/ush/set_extrn_mdl_params.sh @@ -95,6 +95,9 @@ else "ODIN") EXTRN_MDL_SYSBASEDIR_ICS="/scratch/ywang/test_runs/FV3_regional/gfs" ;; + "STAMPEDE") + EXTRN_MDL_SYSBASEDIR_ICS="/scratch/00315/tg455890/GDAS/20190530/2019053000_mem001" + ;; "CHEYENNE") EXTRN_MDL_SYSBASEDIR_ICS="/glade/p/ral/jntp/UFS_CAM/COMGFS" ;; @@ -240,6 +243,9 @@ else "CHEYENNE") EXTRN_MDL_SYSBASEDIR_LBCS="/glade/p/ral/jntp/UFS_CAM/COMGFS" ;; + "STAMPEDE") + EXTRN_MDL_SYSBASEDIR_LBCS="/scratch/00315/tg455890/GDAS/20190530/2019053000_mem001" + ;; esac ;;