Skip to content

Commit

Permalink
For T compsets, only run GLC if med_to_glc is true
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
billsacks committed Dec 27, 2023
1 parent d2a08f0 commit 40ce110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cime_config/runseq/runseq_TG.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 40ce110

Please sign in to comment.