Skip to content

Commit 670098d

Browse files
authored
Merge pull request #3299 from billsacks/eri_transient_testmod
Add a testmod that allows transient ERI tests to work
2 parents fabf7e4 + 8a85b83 commit 670098d

File tree

4 files changed

+25
-0
lines changed

4 files changed

+25
-0
lines changed

cime_config/testdefs/testlist_clm.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -821,6 +821,16 @@
821821
<option name="comment">Repeat last ERP_D...decStart test with matrixcnOn</option>
822822
</options>
823823
</test>
824+
<test name="ERI_D_Ld20" grid="f10_f10_mg37" compset="IHistClm60Bgc" testmods="clm-default--clm/midDecStart--clm-allowTransientYearJump">
825+
<machines>
826+
<machine name="derecho" compiler="intel" category="aux_clm"/>
827+
<machine name="izumi" compiler="nag" category="aux_clm"/>
828+
</machines>
829+
<options>
830+
<option name="wallclock">00:20:00</option>
831+
<option name="comment">ERI test for a transient case across the year boundary, with the restart on the first year side (DEBUG to work on izumi_nag)</option>
832+
</options>
833+
</test>
824834
<test name="ERP_D_Ld3_P64x2" grid="f10_f10_mg37" compset="I2000Clm50BgcCru" testmods="clm/default">
825835
<machines>
826836
<machine name="derecho" compiler="intel" category="aux_clm"/>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
This testmod has changes that are needed in transient (e.g., HIST) tests that have a jump
2+
in years relative to an initial conditions file. For example, this comes up in the ERI
3+
test, where the hybrid run starts two years later than the initial run.
4+
5+
This testmod is meant to be a mix-in with other testmods (e.g.,
6+
'clm-something--clm-allowTransientYearJump'), so it does not have an include of the
7+
default testmod or any other testmods (it is assumed that any needed includes come from
8+
the primary testmod of the test, and that this is just added on top of that).
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
3+
./xmlchange REST_OPTION='$STOP_OPTION'
4+
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
check_finidat_year_consistency = .false.
3+
for_testing_allow_non_annual_changes = .true.

0 commit comments

Comments
 (0)