Skip to content

Commit

Permalink
Minor fixes plus add note for future simplification of handling of mo…
Browse files Browse the repository at this point in the history
…dule file for run_fcst task.
  • Loading branch information
gsketefian committed Nov 18, 2019
1 parent aa14c39 commit 6060304
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/exregional_run_fcst.sh
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ if [ "${USE_CCPP}" = "TRUE" ]; then
elif [ "${CCPP_PHYS_SUITE}" = "GSD" ]; then
cp_vrfy ${TEMPLATE_DIR}/${DIAG_TABLE_CCPP_GSD_FN} ${CYCLE_DIR}/${DIAG_TABLE_FN}
fi
elif [ "${USE_CCPP}" = "false" ]; then
else
cp_vrfy ${TEMPLATE_DIR}/${DIAG_TABLE_FN} ${CYCLE_DIR}
fi
#
Expand Down
2 changes: 1 addition & 1 deletion ush/generate_FV3SAR_wflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ GSD suite) to the experiment directory..."
#
#-----------------------------------------------------------------------
#
elif [ "${USE_CCPP}" = "FALSE" ]; then
else

cp_vrfy ${TEMPLATE_DIR}/${FV3_NML_FN} $EXPTDIR
cp_vrfy ${TEMPLATE_DIR}/${FIELD_TABLE_FN} $EXPTDIR
Expand Down
6 changes: 6 additions & 0 deletions ush/load_modules_run_task.sh
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,12 @@ machine=${MACHINE,,}
modules_dir="$HOMErrfs/modulefiles/$machine"
modulefile_name="${task_name}"

# Dom says that a correct modules.fv3 file is generated by the NEMSfv3gfs
# build regardless of whether building with or without CCPP. Thus, we
# can have a symlink named "run_fcst" that points to that file regardless
# of the setting of USE_CCPP. But this requires that we then test the
# non-CCPP-enabled version, which we've never done. Leave this for ano-
# ther time...
if [ "${task_name}" = "run_fcst" ]; then
if [ "${USE_CCPP}" = "TRUE" ]; then
modulefile_name=${modulefile_name}_ccpp
Expand Down

0 comments on commit 6060304

Please sign in to comment.