Skip to content

Commit

Permalink
Merge pull request #515 from billsacks/xgrid_default
Browse files Browse the repository at this point in the history
Make xgrid the default aoflux_grid when atm and ocn are running on different grids
  • Loading branch information
jedwards4b authored Oct 24, 2024
2 parents 0de751f + aa7f5c1 commit 27f4ecb
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cime_config/namelist_definition_drv.xml
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,10 @@
default: ogrid
</desc>
<values>
<value>ogrid</value>
<value>xgrid</value>
<!-- xgrid introduces unnecessary cost and complexity if atm & ocn are on the same
grid, so fall back to ogrid in that case -->
<value samegrid_atm_ocn='true'>ogrid</value>
</values>
</entry>
<entry id="ocn_surface_flux_scheme">
Expand Down
10 changes: 10 additions & 0 deletions cime_config/testdefs/testlist_drv.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,16 @@
</options>
</test>

<test compset="X" grid="f19_g17" name="ERS_D_Ln9" testmods="drv/aoflux_ogrid">
<machines>
<machine name="derecho" compiler="intel" category="aux_cmeps"/>
</machines>
<options>
<option name="wallclock"> 00:40:00 </option>
<option name="comment">The default aoflux_grid is now xgrid; include a debug test with different atm/ocn grids with aoflux_grid=ogrid to make sure that option continues to work.</option>
</options>
</test>

<!-- ======================================= -->
<!-- B compsets -->
<!-- ======================================= -->
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aoflux_grid = "ogrid"

0 comments on commit 27f4ecb

Please sign in to comment.