From 40ce1107b2a6a851bb7ae1f348e7e3d49fe9e120 Mon Sep 17 00:00:00 2001 From: Bill Sacks Date: Wed, 27 Dec 2023 14:42:56 -0700 Subject: [PATCH] For T compsets, only run GLC if med_to_glc is true This makes the logic for running GLC consistent with runseq_general.py. This change is relevant for the unusual case where a T compset (CISM forced by dlnd) is being run with CISM in noevolve mode: in this case, we don't want to run CISM, and trying to run CISM leads to incorrect behavior in a restart case (which is how this issue was detected). With this change, ERS_D_Ly3.f09_g17_gris4.T1850Gg.derecho_intel.cism-noevolve passes. --- cime_config/runseq/runseq_TG.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cime_config/runseq/runseq_TG.py b/cime_config/runseq/runseq_TG.py index c0bb4ab92..dea8aede5 100644 --- a/cime_config/runseq/runseq_TG.py +++ b/cime_config/runseq/runseq_TG.py @@ -34,7 +34,7 @@ def gen_runseq(case, coupling_times): runseq.add_action ("MED med_phases_post_lnd" , run_lnd) runseq.add_action ("MED med_phases_prep_glc" , med_to_glc) runseq.add_action ("MED -> GLC :remapMethod=redist" , med_to_glc) - runseq.add_action ("GLC" , run_glc) + runseq.add_action ("GLC" , run_glc and med_to_glc) runseq.add_action ("GLC -> MED :remapMethod=redist" , run_glc) runseq.add_action ("MED med_phases_history_write" , True)