Skip to content

fix issue #1108, merge PR#1101,... #1122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 60 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
5d10dfd
dadadj ccpp updates
jtruesdal Apr 30, 2024
9eb07a1
Update Externals_CAM to point to my new atmos_phys branch - will need…
jtruesdal May 6, 2024
bb48a6d
Update externals to match cesm2_3_alpha17f
cacraigucar May 14, 2024
1f0df19
put back in MCT since makefile mods would be required
cacraigucar May 14, 2024
93aa30e
Increase wall clock times
cacraigucar May 14, 2024
e91606a
revert times back for regression tests to original times
cacraigucar May 16, 2024
f816d1e
ChangeLog for cam6_3_161
cacraigucar May 16, 2024
4fc504c
remove the casper test suites
sjsprecious May 21, 2024
e79c4a3
add GPU test suite on Derecho
sjsprecious May 21, 2024
e779d59
swithc ERP to ERS test as nvhpc seems to have a bug with openmp
sjsprecious May 24, 2024
45b8710
Merge remote-tracking branch 'ESCOMP_CAM/cam_development' into gpu_re…
sjsprecious May 29, 2024
f088d52
change dir name from dadadj to dry_adiabatic_adjust and make sure new…
jtruesdal May 30, 2024
b9003c2
PR update to err message for convergence failure
jtruesdal Jun 4, 2024
1698a76
initialize snapshot outfld fields to 0 in tphysac and tphysbc
jtruesdal Jun 20, 2024
cbc9ce5
update to cam6_3_162 w git-fleximod
jtruesdal Jun 21, 2024
0688d84
update to cam6_3_162 w git-fleximod
jtruesdal Jun 21, 2024
871336f
Updates for the new external
Katetc Jun 25, 2024
5cc3cf8
Merge remote-tracking branch 'jian/gpu_regression_test' into cam_dere…
cacraigucar Jun 26, 2024
dc472da
udpates for supporting GPU testing
cacraigucar Jun 26, 2024
dc7dbcd
Merge remote-tracking branch 'refs/remotes/origin/cam_derecho_test' i…
cacraigucar Jun 26, 2024
9cf174c
Updating clubb submodule
Katetc Jun 27, 2024
7c73bc7
Merge branch 'cam_development' into katetc/new_clubb_061424
Katetc Jul 9, 2024
88d8c3a
Update atmos_phys submodule for some reason
Katetc Jul 9, 2024
b3c74ce
update cam to match atmos_phys changes in dadadj (return heating rate…
jtruesdal Jul 11, 2024
ed9a91c
Add GPU tests on derecho
cacraigucar Jul 12, 2024
e8bb669
add src/atmos_phys
jtruesdal Jul 19, 2024
ba79b2d
update to cam6_4_010
jtruesdal Jul 19, 2024
7a83d6b
dz fix in convproc
fvitt Jul 23, 2024
2d1a4f4
improved fix for rh write performance
jedwards4b Jul 24, 2024
31e33fe
remove variable initialization, not necessary for bfb
jtruesdal Jul 25, 2024
91de96c
Merge remote-tracking branch 'ESCOMP/cam_development' into dadadj_ccpp
jtruesdal Jul 25, 2024
b0b79b2
update gitmodules for new atmospheric_physics tag
jtruesdal Jul 25, 2024
55db0bb
Addressing first review comments
Katetc Jul 29, 2024
afde46e
A few more review comments
Katetc Jul 29, 2024
b4df86b
Bug fixes
Katetc Jul 29, 2024
29e2430
Merge pull request #12 from cacraigucar/cam_derecho_test
Katetc Jul 30, 2024
a251e59
Update ChangeLog template to include nvhpc tests on Derecho
Katetc Jul 30, 2024
b52730b
Bug fix for runs where CLUBB_SGS is not defined
Katetc Jul 31, 2024
efcd22b
Merge up to cam6_4_018
Katetc Jul 31, 2024
2ae76b0
cycle forcings over appropriate year
fvitt Aug 5, 2024
2abc5a0
Update to new new new CLUBB external (_gpufix_PosInf) and new CDEPS
Katetc Aug 9, 2024
180ff4d
fix issue #1108
brian-eaton Aug 9, 2024
8e05c34
Update to newest CDEPS tag cdeps1.0.45
Katetc Aug 9, 2024
86ba7de
Update ChangeLog with Derecho test results before machine goes down
Katetc Aug 9, 2024
ed684d2
Final updates
Katetc Aug 12, 2024
eb27509
Merge pull request #1086 from Katetc/katetc/new_clubb_061424
Katetc Aug 12, 2024
84be7fd
Merge remote-tracking branch 'ESCOMP/cam_development' into aeroconv_dz
fvitt Aug 13, 2024
14efd5b
Merge remote-tracking branch 'origin/waccm_forcings' into aeroconv_dz
fvitt Aug 13, 2024
44952cc
Add compiler name to derecho baseline directories
cacraigucar Aug 13, 2024
18aa3ef
Merge remote-tracking branch 'cacraigucar/fix_archive_baselines' into…
fvitt Aug 13, 2024
f675c40
ChangeLog draft
fvitt Aug 13, 2024
d434571
ChangeLog update
fvitt Aug 14, 2024
e23526f
Merge pull request #1111 from fvitt/aeroconv_dz
fvitt Aug 14, 2024
0b68f22
Merge dadadj_ccpp up to cam6_4_020
jtruesdal Aug 15, 2024
d36b4ed
update ChangeLog and add back # to first line of test_driver.sh
jtruesdal Aug 17, 2024
cf34bea
fix date of ChangeLog entry
jtruesdal Aug 17, 2024
782f134
Merge pull request #1026 from jtruesdal/dadadj_ccpp
jtruesdal Aug 17, 2024
805aabf
merge cam6_4_021
brian-eaton Aug 19, 2024
cdc1a97
Merge remote-tracking branch 'JE/fix/rh_write_performance2' into misc04
brian-eaton Aug 19, 2024
70aaf63
update ChangeLog
brian-eaton Aug 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@

[submodule "atmos_phys"]
path = src/atmos_phys
url = https://github.com/ESCOMP/atmospheric_physics
fxtag = atmos_phys0_03_000
url = https://github.com/ESCOMP/atmospheric_physics
fxtag = atmos_phys0_04_000
fxrequired = AlwaysRequired
fxDONOTUSEurl = https://github.com/ESCOMP/atmospheric_physics

Expand Down Expand Up @@ -96,7 +96,7 @@
url = https://github.com/larson-group/clubb_release
fxrequired = AlwaysRequired
fxsparse = ../.clubb_sparse_checkout
fxtag = clubb_4ncar_20231115_5406350
fxtag = clubb_4ncar_20240605_73d60f6_gpufixes_posinf
fxDONOTUSEurl = https://github.com/larson-group/clubb_release

[submodule "cism"]
Expand Down Expand Up @@ -151,7 +151,7 @@ fxDONOTUSEurl = https://github.com/ESCOMP/CMEPS.git
[submodule "cdeps"]
path = components/cdeps
url = https://github.com/ESCOMP/CDEPS.git
fxtag = cdeps1.0.43
fxtag = cdeps1.0.45
fxrequired = ToplevelRequired
fxDONOTUSEurl = https://github.com/ESCOMP/CDEPS.git

Expand Down
16 changes: 11 additions & 5 deletions bld/build-namelist
Original file line number Diff line number Diff line change
Expand Up @@ -3187,17 +3187,18 @@ if (($chem ne 'none') and ($chem ne 'terminator') and !($chem =~ /geoschem/)) {

# Deep convection scheme
add_default($nl, 'deep_scheme');
my $deep_scheme = $nl->get_value('deep_scheme');

# Aerosol convective processes
if (($phys =~ /cam6/ or $phys =~ /cam7/) and $nl->get_value('deep_scheme') =~ /ZM/) {
if (($phys =~ /cam6/ or $phys =~ /cam7/) and $deep_scheme =~ /ZM/) {
add_default($nl, 'convproc_do_aer', 'val'=>'.true.');
add_default($nl, 'convproc_do_evaprain_atonce', 'val'=>'.true.');
add_default($nl, 'convproc_pom_spechygro', 'val'=>'0.2D0');
add_default($nl, 'convproc_wup_max', 'val'=>'4.0D0');
}

# cam7 specific namelists
if ($phys =~ /cam7/ and $nl->get_value('deep_scheme') =~ /ZM/) {
if ($phys =~ /cam7/ and $deep_scheme =~ /ZM/) {
add_default($nl, 'zmconv_parcel_pbl', 'val'=>'.true.');
} else {
add_default($nl, 'zmconv_parcel_pbl', 'val'=>'.false.');
Expand Down Expand Up @@ -3791,12 +3792,13 @@ if (!$simple_phys) {
add_default($nl, 'gw_rdg_do_divstream' , 'val'=>'.true.');
}

my $use_gw_convect_dp = '.false.';
if ($waccm_phys or
(!$simple_phys and $cfg->get('model_top') eq 'mt')) {
# Spectral gravity waves are part of WACCM physics, and also drive the
# QBO in the high vertical resolution configuration.
add_default($nl, 'use_gw_front' , 'val'=>'.true.');
add_default($nl, 'use_gw_convect_dp', 'val'=>'.true.');
$use_gw_convect_dp = '.true.';
my $hdepth_scaling = '0.25D0' ;
my $qbo_forcing = '.false.';
if ($dyn eq 'fv') {
Expand All @@ -3818,12 +3820,16 @@ if ($waccm_phys or
} elsif ($phys =~ /cam7/) {
# cam7 settings for model_top = 'lt'
add_default($nl, 'use_gw_front' , 'val'=>'.true.');
add_default($nl, 'use_gw_convect_dp', 'val'=>'.true.');
$use_gw_convect_dp = '.true.';
add_default($nl, 'gw_qbo_hdepth_scaling', 'val'=>'1.0D0');
} else {
add_default($nl, 'use_gw_front' , 'val'=>'.false.');
add_default($nl, 'use_gw_convect_dp', 'val'=>'.false.');
}
# Check if deep convection scheme used. If not set use_gw_convect_dp=.false.
if ($deep_scheme =~ /off/) {
$use_gw_convect_dp = '.false.';
}
add_default($nl, 'use_gw_convect_dp', 'val'=>$use_gw_convect_dp);

# We need a lot of logic to use these below, so make flags for them.
my $do_gw_oro = ($nl->get_value('use_gw_oro') =~ /$TRUE/io);
Expand Down
1 change: 1 addition & 0 deletions bld/configure
Original file line number Diff line number Diff line change
Expand Up @@ -2329,6 +2329,7 @@ sub write_filepath

#Add the CCPP'ized subdirectories
print $fh "$camsrcdir/src/atmos_phys/zhang_mcfarlane\n";
print $fh "$camsrcdir/src/atmos_phys/dry_adiabatic_adjust\n";

# Dynamics package and test utilities
print $fh "$camsrcdir/src/dynamics/$dyn\n";
Expand Down
4 changes: 4 additions & 0 deletions bld/namelist_files/namelist_defaults_cam.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2241,6 +2241,7 @@
<do_hb_above_clubb >.false. </do_hb_above_clubb>
<do_hb_above_clubb phys="cam6" >.true. </do_hb_above_clubb>
<do_hb_above_clubb phys="cam7" >.true. </do_hb_above_clubb>

<!-- SILHS options -->
<clubb_do_icesuper silhs="1" > .true. </clubb_do_icesuper>
<clubb_C2rt silhs="1" > 0.2 </clubb_C2rt>
Expand All @@ -2266,6 +2267,7 @@
<clubb_skw_max_mag silhs="1" > 10.0 </clubb_skw_max_mag>
<clubb_up2_sfc_coef silhs="1" > 4.0 </clubb_up2_sfc_coef>
<clubb_C_wp2_splat silhs="1" > 0.0 </clubb_C_wp2_splat>
<clubb_bv_efold silhs="1" > 5.0 </clubb_bv_efold>

<clubb_l_brunt_vaisala_freq_moist silhs="1" > .true. </clubb_l_brunt_vaisala_freq_moist>
<clubb_l_call_pdf_closure_twice silhs="1" > .false. </clubb_l_call_pdf_closure_twice>
Expand All @@ -2284,6 +2286,8 @@
<clubb_l_vert_avg_closure silhs="1" > .false. </clubb_l_vert_avg_closure>
<clubb_l_diag_Lscale_from_tau silhs="1" > .false. </clubb_l_diag_Lscale_from_tau>
<clubb_l_damp_wp2_using_em silhs="1" > .false. </clubb_l_damp_wp2_using_em>
<clubb_wpxp_Ri_exp silhs="1" > 0.5 </clubb_wpxp_Ri_exp>
<clubb_z_displace silhs="1" > 25.00 </clubb_z_displace>


<!-- CLUBB+MF options -->
Expand Down
4 changes: 2 additions & 2 deletions bld/namelist_files/use_cases/waccm_sc_2000_cam6.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
<flbc_list>'CO2','CH4','N2O','CFC11','CFC12','CFC11eq'</flbc_list>

<!-- upper atmos forcings -->
<waccm_forcing_type>FIXED</waccm_forcing_type>
<waccm_forcing_fixed_ymd>20000101</waccm_forcing_fixed_ymd>
<waccm_forcing_type>CYCLICAL</waccm_forcing_type>
<waccm_forcing_cycle_yr>2000</waccm_forcing_cycle_yr>
<waccm_forcing_file>SCWACCM_forcing_WACCM6_zm_5day_L70_1975-2014_c191121.nc</waccm_forcing_file>
<waccm_forcing_datapath>atm/waccm/waccm_forcing</waccm_forcing_datapath>

Expand Down
4 changes: 2 additions & 2 deletions bld/namelist_files/use_cases/waccm_sc_2010_cam6.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
<flbc_list>'CO2','CH4','N2O','CFC11','CFC12','CFC11eq'</flbc_list>

<!-- upper atmos forcings -->
<waccm_forcing_type>FIXED</waccm_forcing_type>
<waccm_forcing_fixed_ymd>20100101</waccm_forcing_fixed_ymd>
<waccm_forcing_type>CYCLICAL</waccm_forcing_type>
<waccm_forcing_cycle_yr>2010</waccm_forcing_cycle_yr>
<waccm_forcing_file>SCWACCM_forcing_WACCM6_zm_5day_L70_1975-2014_c191121.nc</waccm_forcing_file>
<waccm_forcing_datapath>atm/waccm/waccm_forcing</waccm_forcing_datapath>

Expand Down
63 changes: 18 additions & 45 deletions cime_config/testdefs/testlist_cam.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1480,6 +1480,24 @@
<!-- (unsupported) -->
<!-- @@@@@@@@@@@@@@@@@@@@@@@@@@@ -->

<test compset="F2000dev" grid="ne30pg3_ne30pg3_mg17" name="ERS_Ln9_G4-a100-openacc" testmods="cam/outfrq9s_mg3_default">
<machines>
<machine name="derecho" compiler="nvhpc" category="derecho_gpu"/>
<machine name="derecho" compiler="nvhpc" category="aux_cam"/>
</machines>
<options>
<option name="wallclock">00:30:00</option>
</options>
</test>
<test compset="F2000dev" grid="ne30pg3_ne30pg3_mg17" name="ERS_Ln9_G4-a100-openacc" testmods="cam/outfrq9s_mg3_pcols760">
<machines>
<machine name="derecho" compiler="nvhpc" category="derecho_gpu"/>
<machine name="derecho" compiler="nvhpc" category="prealpha"/>
</machines>
<options>
<option name="wallclock">00:30:00</option>
</options>
</test>
<test compset="F2000dev" grid="ne30pg3_ne30pg3_mg17" name="ERP_D_Ln9" testmods="cam/outfrq9s" supported="false">
<machines>
<machine name="derecho" compiler="intel" category="aux_pumas"/>
Expand Down Expand Up @@ -1542,51 +1560,6 @@
<machine name="derecho" compiler="intel" category="camchem"/>
</machines>
</test>
<test compset="F2000dev" grid="f09_f09_mg17" name="ERP_Ln9" testmods="cam/outfrq9s_mg3_default">
<machines>
<machine name="casper" compiler="pgi-gpu" category="casper_gpu"/>
<machine name="casper" compiler="nvhpc-gpu" category="casper_gpu"/>
</machines>
<options>
<option name="wallclock">00:59:00</option>
</options>
</test>
<test compset="F2000dev" grid="f09_f09_mg17" name="ERP_Ln9" testmods="cam/outfrq9s_mg2_default">
<machines>
<machine name="casper" compiler="pgi-gpu" category="casper_gpu"/>
<machine name="casper" compiler="nvhpc-gpu" category="casper_gpu"/>
</machines>
<options>
<option name="wallclock">00:59:00</option>
</options>
</test>
<test compset="F2000dev" grid="f09_f09_mg17" name="ERP_Ln9" testmods="cam/outfrq9s_mg3_nondefault">
<machines>
<machine name="casper" compiler="pgi-gpu" category="casper_gpu"/>
<machine name="casper" compiler="nvhpc-gpu" category="casper_gpu"/>
</machines>
<options>
<option name="wallclock">00:59:00</option>
</options>
</test>
<test compset="F2000dev" grid="f09_f09_mg17" name="ERP_Ln9" testmods="cam/outfrq9s_mg3_pcols1536">
<machines>
<machine name="casper" compiler="pgi-gpu" category="casper_gpu"/>
<machine name="casper" compiler="nvhpc-gpu" category="casper_gpu"/>
</machines>
<options>
<option name="wallclock">00:59:00</option>
</options>
</test>
<test compset="F2000dev" grid="f09_f09_mg17" name="ERP_Ln9_G4" testmods="cam/outfrq9s_mg3_default">
<machines>
<machine name="casper" compiler="pgi-gpu" category="casper_gpu"/>
<machine name="casper" compiler="nvhpc-gpu" category="casper_gpu"/>
</machines>
<options>
<option name="wallclock">00:59:00</option>
</options>
</test>
<test compset="QPC4" grid="f19_f19_mg17" name="ERP_Ln9" testmods="cam/outfrq9s">
<machines>
<machine name="derecho" compiler="intel" category="test_release"/>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
./xmlchange NTASKS=36
./xmlchange NTASKS=128
./xmlchange NTHRDS=1
./xmlchange ROOTPE='0'
./xmlchange ROF_NCPL=`./xmlquery --value ATM_NCPL`
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
./xmlchange NTASKS=36
./xmlchange NTASKS=64
./xmlchange NTHRDS=1
./xmlchange ROOTPE='0'
./xmlchange ROF_NCPL=`./xmlquery --value ATM_NCPL`
./xmlchange GLC_NCPL=`./xmlquery --value ATM_NCPL`
./xmlchange CAM_CONFIG_OPTS=' -microphys mg3 -pcols 1536' --append
./xmlchange CAM_CONFIG_OPTS=' -microphys mg3 -pcols 760 ' --append
./xmlchange TIMER_DETAIL='6'
./xmlchange TIMER_LEVEL='999'
Loading
Loading