From 9d08620029bd671c4bf3a9714cb0aa66d57da137 Mon Sep 17 00:00:00 2001 From: Rahul Mahajan Date: Wed, 19 Mar 2025 10:53:58 -0400 Subject: [PATCH 1/2] hotfix for issue 3474 --- parm/config/gfs/config.resources | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/parm/config/gfs/config.resources b/parm/config/gfs/config.resources index 7eca5d871bf..448b86e7ae2 100644 --- a/parm/config/gfs/config.resources +++ b/parm/config/gfs/config.resources @@ -964,7 +964,7 @@ case ${step} in ;; esac elif [[ "${RUN}" =~ enkfg(das|fs) ]]; then - case "${CASE}" in + case "${CASE_ENS}" in "C48" | "C96" | "C192") declare -x "walltime"="00:20:00" ;; @@ -1242,10 +1242,10 @@ case ${step} in tasks_per_node=$(( max_tasks_per_node / threads_per_task )) export is_exclusive=True ;; - + "eobs") walltime="00:15:00" - + case ${CASE} in "C1152" | "C768") ntasks=200;; "C384") ntasks=100;; From 1e7d1e5fdb02e53403c211c45cbc83f3ba46cc90 Mon Sep 17 00:00:00 2001 From: Rahul Mahajan Date: Wed, 19 Mar 2025 11:01:03 -0400 Subject: [PATCH 2/2] update fatal error echo statements --- parm/config/gfs/config.resources | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/parm/config/gfs/config.resources b/parm/config/gfs/config.resources index 448b86e7ae2..4f6c10bd415 100644 --- a/parm/config/gfs/config.resources +++ b/parm/config/gfs/config.resources @@ -959,7 +959,7 @@ case ${step} in declare -x "walltime"="01:20:00" ;; *) - echo "FATAL ERROR: Resources not defined for job ${step} at resolution ${CASE}" + echo "FATAL ERROR: Resources not defined for job ${step} at resolution ${CASE} for ${RUN}" exit 4 ;; esac @@ -972,7 +972,7 @@ case ${step} in declare -x "walltime"="00:30:00" ;; *) - echo "FATAL ERROR: Resources not defined for job ${step} at resolution ${CASE}" + echo "FATAL ERROR: Resources not defined for job ${step} at resolution ${CASE_ENS} for ${RUN}" exit 4 ;; esac @@ -985,7 +985,7 @@ case ${step} in declare -x "walltime"="06:00:00" ;; *) - echo "FATAL ERROR: Resources not defined for job ${step} at resolution ${CASE}" + echo "FATAL ERROR: Resources not defined for job ${step} at resolution ${CASE} for ${RUN}" exit 4 ;; esac