Skip to content

Commit

Permalink
Update ecosys_add_cocco test
Browse files Browse the repository at this point in the history
Test now changes OCN_BGC_CONFIG from latest -> with_cocco or from cesm2.1 ->
cesm2.1+cocco

Also added a C1850ECO_ECOCESM21 compset test with ecosys_add_cocco to
aux_pop_MARBL test list.
  • Loading branch information
mnlevy1981 committed Jun 19, 2020
1 parent 51ed91e commit 89bd6d8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
6 changes: 6 additions & 0 deletions cime_config/testdefs/testlist_pop.xml
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,12 @@
<machine name="cheyenne" compiler="intel" category="aux_cime_baselines"/>
</machines>
</test>
<test name="SMS" grid="T62_g37" compset="C1850ECO_ECOCESM21" testmods="pop/ecosys_add_cocco">
<machines>
<machine name="cheyenne" compiler="intel" category="aux_pop_MARBL"/>
<machine name="hobart" compiler="nag" category="aux_pop_MARBL"/>
</machines>
</test>
<test name="SMS" grid="T62_g17" compset="C1850ECO" testmods="pop/ecosys_add_cocco">
<machines>
<machine name="cheyenne" compiler="intel" category="aux_pop_MARBL"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
./xmlchange OCN_BGC_CONFIG=cesm2.1+cocco
# Check current value of OCN_BGC_CONFIG
ocn_bgc_config=(`./xmlquery OCN_BGC_CONFIG --value`)

if [[ "${ocn_bgc_config}" == "latest" ]]; then
./xmlchange OCN_BGC_CONFIG=with_cocco
elif [[ "${ocn_bgc_config}" == "cesm2.1" ]]; then
./xmlchange OCN_BGC_CONFIG=cesm2.1+cocco
fi

0 comments on commit 89bd6d8

Please sign in to comment.