Skip to content

Commit db75458

Browse files
authored
Merge pull request #1178 from brian-eaton/cam7def
cam6_4_043: Make RRTMGP default radiation in CAM7
2 parents ddacf0f + 463cd30 commit db75458

File tree

11 files changed

+162
-50
lines changed

11 files changed

+162
-50
lines changed

bld/configure

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1074,9 +1074,12 @@ my $rad_pkg = 'none';
10741074
if ($phys_pkg =~ m/cam4|spcam_sam1mom/) {
10751075
$rad_pkg = 'camrt';
10761076
}
1077-
elsif ($phys_pkg =~ m/cam5|cam6|cam7|spcam_m2005/) {
1077+
elsif ($phys_pkg =~ m/cam5|cam6|spcam_m2005/) {
10781078
$rad_pkg = 'rrtmg';
10791079
}
1080+
elsif ($phys_pkg =~ m/cam7/) {
1081+
$rad_pkg = 'rrtmgp';
1082+
}
10801083
# Allow the user to override the default via the commandline.
10811084
my $use_rrtmgp_gpu = 0;
10821085
if (defined $opts{'rad'}) {

bld/namelist_files/namelist_defaults_cam.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2548,7 +2548,7 @@
25482548
<seasalt_emis_scale ver="mam7" >1.62D0</seasalt_emis_scale>
25492549
<seasalt_emis_scale ver="strat" >0.90D0</seasalt_emis_scale>
25502550
<seasalt_emis_scale ver="strat" clubb_sgs="1" >1.00D0</seasalt_emis_scale>
2551-
<seasalt_emis_scale ver="strat" clubb_sgs="1" phys="cam7" >1.5D0</seasalt_emis_scale>
2551+
<seasalt_emis_scale ver="strat" clubb_sgs="1" phys="cam7" >0.75D0</seasalt_emis_scale>
25522552
<seasalt_emis_scale ver="strat" clubb_sgs="1" hgrid="1.9x2.5" phys="cam6">1.10D0</seasalt_emis_scale>
25532553
<seasalt_emis_scale ver="strat" spcam_clubb_sgs="1" >1.2D0</seasalt_emis_scale>
25542554
<seasalt_emis_scale ver="strat" clubb_sgs="1" silhs="1" >0.60D0</seasalt_emis_scale>

bld/namelist_files/use_cases/1850_cam_lt.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
<!-- Low top upper boundary conditions -->
1616
<ubc_specifier>'Q:H2O->UBC_FILE'</ubc_specifier>
17-
<ubc_file_path>atm/cam/chem/ubc/b.e21.BWHIST.f09_g17.CMIP6-historical-WACCM.ensAvg123.cam.h0zm.H2O.185001-201412_c230509cdf5.nc</ubc_file_path>
17+
<ubc_file_path>atm/cam/chem/ubc/b.e21.BWHIST.f09_g17.CMIP6-historical-WACCM.ensAvg123.cam.h0zm.H2O.1849-2014_c240604.nc</ubc_file_path>
1818
<ubc_file_input_type>CYCLICAL</ubc_file_input_type>
1919
<ubc_file_cycle_yr>1850</ubc_file_cycle_yr>
2020

cime_config/testdefs/testlist_cam.xml

Lines changed: 13 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,6 @@
3434
<option name="wallclock">00:10:00</option>
3535
</options>
3636
</test>
37-
<test compset="F2000climo" grid="f10_f10_mg37" name="SMS_Lm13" testmods="cam/outfrq1m" supported="false">
38-
<machines>
39-
<machine name="derecho" compiler="intel" category="aux_cam"/>
40-
</machines>
41-
<options>
42-
<option name="wallclock">03:00:00</option>
43-
</options>
44-
</test>
4537
<test compset="F2000climo" grid="f09_f09_mg17" name="PFS">
4638
<machines>
4739
<machine name="derecho" compiler="gnu" category="prebeta"/>
@@ -940,9 +932,16 @@
940932
<option name="wallclock">00:20:00</option>
941933
</options>
942934
</test>
935+
<test compset="QPWmaC6" grid="f45_f45_mg37" name="ERP_Ln9_P24x2" testmods="cam/outfrq9s_mee_fluxes" supported="false">
936+
<machines>
937+
<machine name="izumi" compiler="gnu" category="aux_cam"/>
938+
</machines>
939+
<options>
940+
<option name="wallclock">00:20:00</option>
941+
</options>
942+
</test>
943943
<test compset="QPWmaC6" grid="f45_f45_mg37" name="ERP_Ln9_P24x3" testmods="cam/outfrq9s_mee_fluxes" supported="false">
944944
<machines>
945-
<machine name="derecho" compiler="intel" category="aux_cam"/>
946945
<machine name="derecho" compiler="intel" category="waccm"/>
947946
</machines>
948947
<options>
@@ -1378,9 +1377,9 @@
13781377
</options>
13791378
</test>
13801379

1381-
<test compset="F2000climo" grid="mpasa480_mpasa480" name="ERS_Ln9_P36x1" testmods="cam/outfrq9s_mpasa480">
1380+
<test compset="F2000climo" grid="mpasa480_mpasa480" name="ERS_Ln9_P24x1" testmods="cam/outfrq9s_mpasa480">
13821381
<machines>
1383-
<machine name="derecho" compiler="intel" category="aux_cam"/>
1382+
<machine name="izumi" compiler="gnu" category="aux_cam"/>
13841383
</machines>
13851384
<options>
13861385
<option name="wallclock">00:45:00</option>
@@ -1771,13 +1770,13 @@
17711770
<option name="comment">CAM7 low top ~40 km</option>
17721771
</options>
17731772
</test>
1774-
<test compset="FLTHIST" grid="ne30pg3_ne30pg3_mg17" name="ERP_D_Ln9" testmods="cam/outfrq9s_rrtmgp">
1773+
<test compset="FLTHIST" grid="ne3pg3_ne3pg3_mg37" name="ERP_D_Ln9" testmods="cam/outfrq9s">
17751774
<machines>
1776-
<machine name="derecho" compiler="intel" category="aux_cam"/>
1775+
<machine name="izumi" compiler="gnu" category="aux_cam"/>
17771776
</machines>
17781777
<options>
17791778
<option name="wallclock">00:30:00</option>
1780-
<option name="comment">CAM7 low top ~40 km w/ RRTMGP</option>
1779+
<option name="comment">CAM7 low top ~40 km</option>
17811780
</options>
17821781
</test>
17831782
<test compset="FMTHIST" grid="ne30pg3_ne30pg3_mg17" name="SMS_D_Ln9" testmods="cam/outfrq9s">
@@ -1789,15 +1788,6 @@
17891788
<option name="comment">CAM7 mid top ~80 km</option>
17901789
</options>
17911790
</test>
1792-
<test compset="FMTHIST" grid="ne30pg3_ne30pg3_mg17" name="SMS_D_Ln9" testmods="cam/outfrq9s_rrtmgp">
1793-
<machines>
1794-
<machine name="derecho" compiler="intel" category="prealpha"/>
1795-
</machines>
1796-
<options>
1797-
<option name="wallclock">00:20:00</option>
1798-
<option name="comment">CAM7 mid top ~80 km w/ RRTMGP</option>
1799-
</options>
1800-
</test>
18011791
<test compset="FMTHIST" grid="ne30pg3_ne30pg3_mg17" name="ERP_D_Ln9" testmods="cam/outfrq9s">
18021792
<machines>
18031793
<machine name="derecho" compiler="intel" category="prealpha"/>
@@ -2758,16 +2748,6 @@
27582748
<option name="wallclock">00:10:00</option>
27592749
</options>
27602750
</test>
2761-
<test compset="F1850" grid="f10_f10_mg37" name="ERS_Ld3" testmods="cam/outfrq1d_14dec_ghg_cam7">
2762-
<machines>
2763-
<machine name="derecho" compiler="intel" category="aux_cam"/>
2764-
<machine name="derecho" compiler="intel" category="ghg_cam"/>
2765-
</machines>
2766-
<options>
2767-
<option name="wallclock">00:10:00</option>
2768-
<option name="comment">Checks that exact restarts occur when crossing the December 16th date boundary with WACCM-SC chemistry in low top configuration</option>
2769-
</options>
2770-
</test>
27712751
<test compset="FWsc2000climo" grid="f10_f10_mg37" name="ERP_Ld3" testmods="cam/outfrq1d_14dec">
27722752
<machines>
27732753
<machine name="derecho" compiler="intel" category="waccm"/>

cime_config/testdefs/testmods_dirs/cam/outfrq1d_14dec_ghg_cam7/shell_commands

Lines changed: 0 additions & 3 deletions
This file was deleted.

cime_config/testdefs/testmods_dirs/cam/outfrq1d_14dec_ghg_cam7/user_nl_cam

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
./xmlchange ROF_NCPL=\$ATM_NCPL
2+
./xmlchange GLC_NCPL=\$ATM_NCPL
3+
./xmlchange RUN_STARTDATE="1999-12-31"
4+
./xmlchange START_TOD="82800"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
mfilt=1,1,1,1,1,1
2+
ndens=1,1,1,1,1,1
3+
nhtfrq=9,9,9,9,9,9
4+
write_nstep0=.true.
5+
inithist='ENDOFRUN'

cime_config/testdefs/testmods_dirs/cam/outfrq1d_14dec_ghg_cam7/user_nl_clm renamed to cime_config/testdefs/testmods_dirs/cam/outfrq9s_eoy/user_nl_clm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
! Set maxpatch_glcmec with GLC_NEC option
2222
! Set glc_do_dynglacier with GLC_TWO_WAY_COUPLING env variable
2323
!----------------------------------------------------------------------------------
24-
hist_nhtfrq = -24
24+
hist_nhtfrq = 9
2525
hist_mfilt = 1
2626
hist_ndens = 1
2727

cime_config/testdefs/testmods_dirs/cam/outfrq9s_mg3_default/shell_commands

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
./xmlchange ROOTPE='0'
44
./xmlchange ROF_NCPL=`./xmlquery --value ATM_NCPL`
55
./xmlchange GLC_NCPL=`./xmlquery --value ATM_NCPL`
6-
./xmlchange CAM_CONFIG_OPTS=' -microphys mg3' --append
6+
./xmlchange CAM_CONFIG_OPTS=' -microphys mg3 -rad rrtmg' --append
77
./xmlchange TIMER_DETAIL='6'
88
./xmlchange TIMER_LEVEL='999'

0 commit comments

Comments
 (0)