Skip to content

Commit 9b98aac

Browse files
authored
Merge pull request #1343 from jimmielin/hplin/vdiff_answer_change
cam6_4_104: Reorder tautms/taublj add terms for future vertical diffusion refactoring
2 parents 9ccd342 + 5859cd2 commit 9b98aac

File tree

7 files changed

+120
-9
lines changed

7 files changed

+120
-9
lines changed

doc/ChangeLog

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,116 @@
11
===============================================================
22

3+
Tag name: cam6_4_104
4+
Originator(s): jimmielin
5+
Date: Jul 14, 2025
6+
One-line Summary: Reorder tautms/taublj add terms for future vertical diffusion refactoring
7+
Github PR URL: https://github.com/ESCOMP/CAM/pull/1343
8+
9+
Purpose of changes (include the issue number and title text for each relevant GitHub issue):
10+
- reorders terms for summation of taublj and tautms to be at the end of taures instead of in the middle to facilitate future decoupling of the TMS and Beljaars code from the diffusion solver (part of #1314; part of #1205)
11+
- update git submodule hashes to be consistent with .gitmodules fxTag to pass GitHub action test
12+
13+
Describe any changes made to build system: N/A
14+
15+
Describe any changes made to the namelist: N/A
16+
17+
List any changes to the defaults for the boundary datasets: N/A
18+
19+
Describe any substantial timing or memory changes: N/A
20+
21+
Code reviewed by: cacraig
22+
23+
List all files eliminated: N/A
24+
25+
List all files added and what they do: N/A
26+
27+
List all existing files that have been modified, and describe the changes:
28+
M src/physics/cam/diffusion_solver.F90
29+
- reorder terms for vertical diffusion surface stresses.
30+
31+
M cime
32+
M components/cice
33+
M libraries/FMS
34+
M src/atmos_phys
35+
M tools/CUPiD
36+
- checkout git submodules corresponding to .gitmodules file for consistency
37+
(no externals are updated -- only makes submodule hashes in repository consistent with .gitmodules file)
38+
39+
If there were any failures reported from running test_driver.sh on any test
40+
platform, and checkin with these failures has been OK'd by the gatekeeper,
41+
then copy the lines from the td.*.status files for the failed tests to the
42+
appropriate machine below. All failed tests must be justified.
43+
44+
derecho/intel/aux_cam:
45+
ERC_D_Ln9.f09_f09_mt232.FHIST_BDRD.derecho_intel.cam-outfrq9s (Overall: DIFF) details:
46+
ERC_D_Ln9.mpasa120_mpasa120.F2000climo.derecho_intel.cam-outfrq9s_mpasa120 (Overall: DIFF) details:
47+
ERC_D_Ln9.mpasa120_mpasa120.FHISTC_LTso.derecho_intel.cam-outfrq9s_mpasa120 (Overall: DIFF) details:
48+
ERC_D_Ln9.ne30pg3_ne30pg3_mt232.FHISTC_LTso.derecho_intel.cam-outfrq9s (Overall: DIFF) details:
49+
ERP_Ld3.ne16pg3_ne16pg3_mg17.FHISTC_WAt1ma.derecho_intel.cam-reduced_hist1d (Overall: DIFF) details:
50+
ERP_Ld3.ne30pg3_ne30pg3_mt232.FHISTC_MTt4s.derecho_intel.cam-outfrq1d_aoa (Overall: DIFF) details:
51+
ERP_Ln9.C96_C96_mg17.F2000climo.derecho_intel.cam-outfrq9s_mg3 (Overall: DIFF) details:
52+
ERP_Ln9.f09_f09_mg17.FCSD_HCO.derecho_intel.cam-outfrq9s (Overall: DIFF) details:
53+
ERP_Ln9.f19_f19_mg17.FWsc1850.derecho_intel.cam-outfrq9s (Overall: DIFF) details:
54+
ERP_Ln9.ne30pg3_ne30pg3_mg17.FCnudged.derecho_intel.cam-outfrq9s (Overall: DIFF) details:
55+
ERP_Ln9.ne30pg3_ne30pg3_mg17.FHISTC_WAma.derecho_intel.cam-outfrq9s (Overall: DIFF) details:
56+
ERS_Ln9.f09_f09_mg17.FX2000.derecho_intel.cam-outfrq9s (Overall: DIFF) details:
57+
ERS_Ln9.f19_f19_mg17.FXSD.derecho_intel.cam-outfrq9s (Overall: DIFF) details:
58+
ERS_Ln9.ne30pg3_ne30pg3_mg17.FHISTC_WXma.derecho_intel.cam-outfrq9s_ctem (Overall: DIFF) details:
59+
SMS_C2_D_Ln9.ne16pg3_ne16pg3_mg17.FHISTC_WXma.derecho_intel.cam-outfrq9s (Overall: DIFF) details:
60+
SMS_D_Ln9.f09_f09_mg17.FCts2nudged.derecho_intel.cam-outfrq9s_leapday (Overall: DIFF) details:
61+
SMS_D_Ln9.f09_f09_mg17.FCvbsxHIST.derecho_intel.cam-outfrq9s (Overall: DIFF) details:
62+
SMS_D_Ln9.f09_f09_mg17.FSD.derecho_intel.cam-outfrq9s (Overall: DIFF) details:
63+
SMS_D_Ln9.f19_f19_mg17.FWma2000climo.derecho_intel.cam-outfrq9s (Overall: DIFF) details:
64+
SMS_D_Ln9.f19_f19_mg17.FWma2000climo.derecho_intel.cam-outfrq9s_waccm_ma_mam4 (Overall: DIFF) details:
65+
SMS_D_Ln9.ne0ARCTICne30x4_ne0ARCTICne30x4_mt12.FHIST.derecho_intel.cam-outfrq9s (Overall: DIFF) details:
66+
SMS_D_Ln9.ne30pg3_ne30pg3_mt232.FHISTC_MTso.derecho_intel.cam-outfrq9s (Overall: DIFF) details:
67+
SMS_D_Ln9_P1280x1.ne30pg3_ne30pg3_mt232.FHISTC_MTt1s.derecho_intel.cam-outfrq9s_Leung_dust (Overall: DIFF) details:
68+
SMS_Ld1.f09_f09_mg17.FCHIST_GC.derecho_intel.cam-outfrq1d (Overall: DIFF) details:
69+
SMS_Ld1.f09_f09_mg17.FW2000climo.derecho_intel.cam-outfrq1d (Overall: DIFF) details:
70+
SMS_Ld1.ne30pg3_ne30pg3_mg17.FC2010climo.derecho_intel.cam-outfrq1d (Overall: DIFF) details:
71+
SMS_Lh12.f09_f09_mg17.FCSD_HCO.derecho_intel.cam-outfrq3h (Overall: DIFF) details:
72+
SMS_Ln9.f09_f09_mg17.F2010climo.derecho_intel.cam-nudging (Overall: DIFF) details:
73+
SMS_Ln9.f09_f09_mg17.FW1850.derecho_intel.cam-reduced_hist3s (Overall: DIFF) details:
74+
SMS_Ln9.f19_f19_mg17.F2000climo.derecho_intel.cam-silhs (Overall: DIFF) details:
75+
SMS_Ln9.ne30pg3_ne30pg3_mg17.FW2000climo.derecho_intel.cam-outfrq9s_rrtmgp (Overall: DIFF) details:
76+
- new answers due to changes in order where Beljaars/TMS added to residual surface stress.
77+
78+
SMS_D_Ln9_P1280x1.ne0CONUSne30x8_ne0CONUSne30x8_mt12.FCHIST.derecho_intel.cam-outfrq9s (Overall: FAIL) details:
79+
- pre-existing failure due to build-namelist error requiring CLM/CTSM external update.
80+
81+
derecho/nvhpc/aux_cam:
82+
ERS_Ln9.ne30pg3_ne30pg3_mg17.F2000dev.derecho_nvhpc.cam-outfrq9s_gpu_default (Overall: DIFF) details:
83+
- new answers due to changes in order where Beljaars/TMS added to residual surface stress.
84+
85+
izumi/nag/aux_cam:
86+
ERC_D_Ln9.f10_f10_mt232.FHIST.izumi_nag.cam-outfrq3s_cospsathist (Overall: DIFF) details:
87+
ERC_D_Ln9.ne3pg3_ne3pg3_mt232.FHISTC_LTso.izumi_nag.cam-cosp_rad_diags (Overall: DIFF) details:
88+
ERC_D_Ln9.ne3pg3_ne3pg3_mt232.FHISTC_LTso.izumi_nag.cam-outfrq9s_nochem (Overall: DIFF) details:
89+
SMS_D_Ln9.f10_f10_mt232.F1850.izumi_nag.cam-outfrq9s (Overall: DIFF) details:
90+
- new answers due to changes in order where Beljaars/TMS added to residual surface stress.
91+
92+
izumi/gnu/aux_cam:
93+
ERC_D_Ln9.f19_f19_mt232.FHIST.izumi_gnu.cam-lonlat_fv_diags (Overall: DIFF) details:
94+
ERC_D_Ln9.mpasa480_mpasa480_mt232.FHISTC_LTso.izumi_gnu.cam-outfrq9s_mpasa480 (Overall: DIFF) details:
95+
ERC_D_Ln9.ne3pg3_ne3pg3_mt232.FHIST.izumi_gnu.cam-nochem_clubbmf (Overall: DIFF) details:
96+
ERS_Ln9_P24x1.mpasa480_mpasa480.F2000climo.izumi_gnu.cam-outfrq9s_mpasa480 (Overall: DIFF) details:
97+
- new answers due to changes in order where Beljaars/TMS added to residual surface stress.
98+
99+
100+
CAM tag used for the baseline comparison tests if different than previous
101+
tag:
102+
103+
Summarize any changes to answers:
104+
Answer changes for all configurations using diffusion solver and Beljaars -or- TMS,
105+
due to change in order of operations in computing residual surface stress.
106+
Not all compsets change. CAM4 compsets are unaffected because they do not have orographic drag,
107+
so the change in adding zeros will not affect answers. "Q"/aquaplanet compsets did not see
108+
answer changes.
109+
110+
111+
===============================================================
112+
113+
3114
Tag name: cam6_4_103
4115
Originator(s): fvitt
5116
Date: 11 Jul 2025

libraries/FMS

src/atmos_phys

Submodule atmos_phys updated 138 files

src/physics/cam/diffusion_solver.F90

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -631,14 +631,14 @@ end function vd_lu_qdecomp
631631
! the sum of 'taux(i) - ksrftms(i)*u(i,pver) + tauresx(i)'.
632632

633633
if( itaures .eq. 1 ) then
634-
tauresx(i) = taux(i) + tautmsx(i) + taubljx(i) + tauresx(i)- tauimpx(i)
635-
tauresy(i) = tauy(i) + tautmsy(i) + taubljy(i) + tauresy(i)- tauimpy(i)
634+
tauresx(i) = taux(i) + tauresx(i) - tauimpx(i) + tautmsx(i) + taubljx(i)
635+
tauresy(i) = tauy(i) + tauresy(i) - tauimpy(i) + tautmsy(i) + taubljy(i)
636636
endif
637637

638638
else
639639

640-
tautotx(i) = tautmsx(i) + taux(i)
641-
tautoty(i) = tautmsy(i) + tauy(i)
640+
tautotx(i) = taux(i) + tautmsx(i)
641+
tautoty(i) = tauy(i) + tautmsy(i)
642642
tauresx(i) = 0._r8
643643
tauresy(i) = 0._r8
644644

0 commit comments

Comments
 (0)