Skip to content

Commit

Permalink
Merge branch 'fix_cplhist'
Browse files Browse the repository at this point in the history
Fix nuopc cplhist test

Make some changes to the cplhist testmod that fix the cplhist test,
based on testing done by Keith Oleson:
- Point to new cplhist forcing data generated and used by Adam
  Herrington and Keith Oleson
- Use DATM_PRESNDEP=none until
  #1844 is resolved

Also, remove mct cplhist test.
  • Loading branch information
billsacks committed May 19, 2023
2 parents a8e993a + 4ab7026 commit 394f9fd
Show file tree
Hide file tree
Showing 6 changed files with 84 additions and 30 deletions.
2 changes: 1 addition & 1 deletion Externals.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ local_path = components/cmeps
required = True

[cdeps]
tag = cdeps1.0.12
tag = cdeps1.0.13
protocol = git
repo_url = https://github.com/ESCOMP/CDEPS.git
local_path = components/cdeps
Expand Down
7 changes: 0 additions & 7 deletions cime_config/testdefs/ExpectedTestFails.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,6 @@
</phase>
</test>

<test name="SMS_D_Ld1_PS.f09_g17.I1850Clm50BgcSpinup.cheyenne_intel.clm-cplhist">
<phase name="RUN">
<status>FAIL</status>
<issue>#1844</issue>
</phase>
</test>

<!-- fates test suite failures -->

<test name="ERS_Lm12.1x1_brazil.I2000Clm50FatesCruRsGs.cheyenne_intel.clm-FatesFireLightningPopDens">
Expand Down
11 changes: 1 addition & 10 deletions cime_config/testdefs/testlist_clm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1315,7 +1315,7 @@
<option name="comment" >Simple test to make sure the basic Fates-SP compset works"</option>
</options>
</test>
<test name="SMS_D_Ld1_PS" grid="f09_g17" compset="I1850Clm50BgcSpinup" testmods="clm/cplhist">
<test name="SMS_D_Ld1" grid="ne30pg3_t061" compset="I1850Clm50BgcSpinup" testmods="clm/cplhist">
<machines>
<machine name="cheyenne" compiler="intel" category="aux_clm"/>
<machine name="cheyenne" compiler="intel" category="prealpha"/>
Expand All @@ -1324,15 +1324,6 @@
<option name="wallclock">00:20:00</option>
</options>
</test>
<test name="SMS_Vmct_D_Ld1_PS" grid="f09_g17" compset="I1850Clm50BgcSpinup" testmods="clm/cplhist">
<machines>
<machine name="cheyenne" compiler="intel" category="aux_clm"/>
</machines>
<options>
<option name="wallclock">00:20:00</option>
<option name="comment" >Spinup test with MCT driver</option>
</options>
</test>
<test name="SMS_D_Ld1_PS" grid="f19_f19_mg17" compset="I2010Clm50Sp" testmods="clm/clm50cam6LndTuningMode">
<machines>
<machine name="cheyenne" compiler="intel" category="aux_clm"/>
Expand Down
20 changes: 8 additions & 12 deletions cime_config/testdefs/testmods_dirs/clm/cplhist/shell_commands
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
driver=`./xmlquery --value COMP_INTERFACE`
if [ "$driver" = "nuopc" ]; then
./xmlchange DATM_YR_ALIGN=1
./xmlchange DATM_YR_END=84
./xmlchange DATM_YR_START=82
else
./xmlchange DATM_CPLHIST_YR_ALIGN=1
./xmlchange DATM_CPLHIST_YR_END=84
./xmlchange DATM_CPLHIST_YR_START=82
fi
./xmlchange DATM_CPLHIST_CASE=b.e20.B1850.f09_g17.pi_control.all.221.cplhist
./xmlchange DATM_CPLHIST_DIR=/glade/p/cesm/bgcwg_dev/forcing/b.e20.B1850.f09_g17.pi_control.all.221.cplhist/cpl/hist.mon
./xmlchange DATM_CPLHIST_CASE=cam6ctsm51_cesm23a12c_ne30pg3g17_CPLHIST_1850
./xmlchange DATM_CPLHIST_DIR=/glade/p/cgd/tss/CTSM_datm_forcing_data/atm_forcing.cdeps_datm.CPLHIST_cam6ctsm51_cesm23a12c_ne30pg3g17_1850
./xmlchange DATM_YR_START=1
./xmlchange DATM_YR_END=1
./xmlchange DATM_YR_ALIGN=1

# Needed until we have cplhist forcing with ndep - see https://github.com/escomp/ctsm/issues/1844
./xmlchange DATM_PRESNDEP=none
73 changes: 73 additions & 0 deletions doc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,4 +1,77 @@
===============================================================
Tag name: ctsm5.1.dev127
Originator(s): sacks (Bill Sacks)
Date: Fri May 19 04:48:30 MDT 2023
One-line Summary: Fix nuopc cplhist test

Purpose and description of changes
----------------------------------

Make some changes to the cplhist testmod that fix the cplhist test,
based on testing done by Keith Oleson:
- Point to new cplhist forcing data generated and used by Adam
Herrington and Keith Oleson
- Use DATM_PRESNDEP=none until
https://github.com/escomp/ctsm/issues/1844 is resolved

Also, remove mct cplhist test.

Significant changes to scientifically-supported configurations
--------------------------------------------------------------

Does this tag change answers significantly for any of the following physics configurations?
(Details of any changes will be given in the "Answer changes" section below.)

[Put an [X] in the box for any configuration with significant answer changes.]

[ ] clm5_1

[ ] clm5_0

[ ] ctsm5_0-nwp

[ ] clm4_5


Bugs fixed or introduced
------------------------
CTSM issues fixed (include CTSM Issue #):
- Takes steps towards addressing ESCOMP/CTSM#1844 (Create new auxiliary
history file for cplhist test with ndep data)

Notes of particular relevance for developers:
---------------------------------------------
Changes to tests or testing:
- Changes cplhist test; new test is
SMS_D_Ld1.ne30pg3_t061.I1850Clm50BgcSpinup.cheyenne_intel.clm-cplhist
- Removes mct cplhist test

Testing summary:
----------------

regular tests (aux_clm: https://github.com/ESCOMP/CTSM/wiki/System-Testing-Guide#pre-merge-system-testing):

cheyenne ---- PASS
izumi ------- PASS

Note that there were no baselines for the new test
(SMS_D_Ld1.ne30pg3_t061.I1850Clm50BgcSpinup.cheyenne_intel.clm-cplhist)

Answer changes
--------------

Changes answers relative to baseline: NO

Other details
-------------
List any externals directories updated (cime, rtm, mosart, cism, fates, etc.):
- cdeps: cdeps1.0.12 -> cdeps1.0.13

Pull Requests that document the changes (include PR ids):
https://github.com/ESCOMP/CTSM/pull/1999

===============================================================
===============================================================
Tag name: ctsm5.1.dev126
Originator(s): jpalex (John Alex)
Date: Thu May 18 17:21:59 MDT 2023
Expand Down
1 change: 1 addition & 0 deletions doc/ChangeSum
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Tag Who Date Summary
============================================================================================================================
ctsm5.1.dev127 sacks 05/19/2023 Fix nuopc cplhist test
ctsm5.1.dev126 jpalex 05/18/2023 Clean up some loops in UrbanTimeVarType
ctsm5.1.dev125 jpalex 05/17/2023 Added cache for clock step_size in clm_time_manager.F90
ctsm5.1.dev124 erik 05/09/2023 Initialization memory update, new surface datasets for new grids, add option for running NEON with PRISM data
Expand Down

0 comments on commit 394f9fd

Please sign in to comment.