Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Goldhaber committed Oct 29, 2024
1 parent 61d5437 commit e00f8b1
Show file tree
Hide file tree
Showing 6 changed files with 90 additions and 56 deletions.
116 changes: 72 additions & 44 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,78 +1,106 @@
# This is a git submodule file with additional support for
# git-fleximod (https://github.com/ESMCI/git-fleximod)
#
# The additional flags supported by git-fleximod are
# fxtag - the tag associated with the submodule, this tag can be tested for
# consistancy with the submodule hash using git-fleximod status
# the hash can be updated to the tag using git-fleximod update
#
# fxrequired - indicates if a given submodule should be checked out on install
# submoudules can be toplevel or internal and required or optional
# toplevel means that the submodule should only be checked out if the
# module is the toplevel of the git repo (is not a submodule itself)
# internal means that the submodule is needed by the component whether
# the component is toplevel or the submodule of another repo
# required means that the submodule should always be checked out
# optional means that the submodule should only be checked out if the
# optional flag is provided to git-fleximod or the submodule name is
# explicitly listed on the git-fleximod command line.
#
# fxsparse - this is a path to a git sparse checkout file indicating that the
# submodule should be checked out in sparse mode
#
# fxDONOTUSEurl - this field is used by git-fleximod test to insure that the url is pointing
# to the official url of the repo and not to an unofficial fork.
# It is intended for use of github workflows to test commits to protected
# repository branches.
#

#-----------------------------
# Required CAM externals
#-----------------------------

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

[submodule "chem_proc"]
path = chem_proc
url = https://github.com/ESCOMP/CHEM_PREPROCESSOR.git
fxrequired = AlwaysRequired
fxtag = chem_proc5_0_06
fxtag = chem_proc5_0_06
fxrequired = AlwaysRequired
fxDONOTUSEurl = https://github.com/ESCOMP/CHEM_PREPROCESSOR.git

[submodule "carma"]
path = src/physics/carma/base
url = https://github.com/ESCOMP/CARMA_base.git
fxrequired = AlwaysRequired
fxtag = carma4_01
fxDONOTUSEurl = https://github.com/ESCOMP/CARMA_base.git
fxtag = carma4_01
fxrequired = AlwaysRequired
fxDONOTUSEurl = https://github.com/ESCOMP/CARMA_base.git

[submodule "clubb"]
path = src/physics/clubb
url = https://github.com/larson-group/clubb_release
fxrequired = AlwaysRequired
fxsparse = ../.clubb_sparse_checkout
fxtag = clubb_4ncar_20240605_73d60f6_gpufixes_posinf
fxDONOTUSEurl = https://github.com/larson-group/clubb_release
fxtag = clubb_4ncar_20240605_73d60f6_gpufixes_posinf
fxsparse = ../.clubb_sparse_checkout
fxrequired = AlwaysRequired
fxDONOTUSEurl = https://github.com/larson-group/clubb_release

[submodule "cosp2"]
path = src/physics/cosp2/src
url = https://github.com/CFMIP/COSPv2.0
fxrequired = AlwaysRequired
fxsparse = ../.cosp_sparse_checkout
fxtag = v2.1.4cesm
fxtag = v2.1.4cesm
fxsparse = ../.cosp_sparse_checkout
fxrequired = AlwaysRequired
fxDONOTUSEurl = https://github.com/CFMIP/COSPv2.0

[submodule "hemco"]
path = src/hemco
url = https://github.com/ESCOMP/HEMCO_CESM.git
fxtag = hemco-cesm2_0_hemco3_9_0
fxrequired = AlwaysRequired
fxtag = hemco-cesm2_0_hemco3_9_0
fxrequired = AlwaysRequired
fxDONOTUSEurl = https://github.com/ESCOMP/HEMCO_CESM.git

[submodule "pumas"]
path = src/physics/pumas
url = https://github.com/ESCOMP/PUMAS
fxrequired = AlwaysRequired
fxtag = pumas_cam-release_v1.36
fxDONOTUSEurl = https://github.com/ESCOMP/PUMAS
fxtag = pumas_cam-release_v1.36
fxrequired = AlwaysRequired
fxDONOTUSEurl = https://github.com/ESCOMP/PUMAS

[submodule "pumas-frozen"]
path = src/physics/pumas-frozen
url = https://github.com/ESCOMP/PUMAS
fxrequired = AlwaysRequired
fxtag = pumas_cam-release_v1.17_rename
fxDONOTUSEurl = https://github.com/ESCOMP/PUMAS
fxtag = pumas_cam-release_v1.17_rename
fxrequired = AlwaysRequired
fxDONOTUSEurl = https://github.com/ESCOMP/PUMAS

[submodule "rrtmgp-data"]
path = src/physics/rrtmgp/data
url = https://github.com/earth-system-radiation/rrtmgp-data.git
fxrequired = AlwaysRequired
fxtag = v1.8
fxDONOTUSEurl = https://github.com/earth-system-radiation/rrtmgp-data.git
fxtag = v1.8
fxrequired = AlwaysRequired
fxDONOTUSEurl = https://github.com/earth-system-radiation/rrtmgp-data.git

[submodule "rte-rrtmgp"]
path = src/physics/rrtmgp/ext
url = https://github.com/earth-system-radiation/rte-rrtmgp.git
fxrequired = AlwaysRequired
fxtag = v1.7
fxDONOTUSEurl = https://github.com/earth-system-radiation/rte-rrtmgp.git
fxtag = v1.7
fxrequired = AlwaysRequired
fxDONOTUSEurl = https://github.com/earth-system-radiation/rte-rrtmgp.git

#-----------------------------
# Optional CAM externals
Expand All @@ -81,37 +109,37 @@
[submodule "ali_arms"]
path = src/physics/ali_arms
url = https://github.com/ESCOMP/ALI-ARMS
fxrequired = AlwaysOptional
fxtag = ALI_ARMS_v1.0.1
fxDONOTUSEurl = https://github.com/ESCOMP/ALI-ARMS
fxtag = ALI_ARMS_v1.0.1
fxrequired = AlwaysOptional
fxDONOTUSEurl = https://github.com/ESCOMP/ALI-ARMS

[submodule "cloud_j"]
path = src/chemistry/cloud_j
url = https://github.com/geoschem/cloud-j.git
fxrequired = AlwaysOptional
fxtag = 7.7.3
fxDONOTUSEurl = https://github.com/geoschem/cloud-j.git
fxtag = 7.7.3
fxrequired = AlwaysOptional
fxDONOTUSEurl = https://github.com/geoschem/cloud-j.git

[submodule "geoschem"]
path = src/chemistry/geoschem/geoschem_src
url = https://github.com/geoschem/geos-chem.git
fxrequired = AlwaysOptional
fxtag = 14.4.3
fxDONOTUSEurl = https://github.com/geoschem/geos-chem.git
fxtag = 14.4.3
fxrequired = AlwaysOptional
fxDONOTUSEurl = https://github.com/geoschem/geos-chem.git

[submodule "hetp"]
path = src/chemistry/hetp
url = https://github.com/geoschem/heterogeneous-vectorized-or-parallel.git
fxrequired = AlwaysOptional
fxtag = geoschem_hetp_1.0
fxDONOTUSEurl = https://github.com/geoschem/heterogeneous-vectorized-or-parallel.git
fxtag = geoschem_hetp_1.0
fxrequired = AlwaysOptional
fxDONOTUSEurl = https://github.com/geoschem/heterogeneous-vectorized-or-parallel.git

[submodule "mpas"]
path = src/dynamics/mpas/dycore
url = https://github.com/MPAS-Dev/MPAS-Model.git
fxrequired = AlwaysOptional
fxsparse = ../.mpas_sparse_checkout
fxtag = v8.2.1
fxtag = v8.2.1
fxsparse = ../.mpas_sparse_checkout
fxrequired = AlwaysOptional
fxDONOTUSEurl = https://github.com/MPAS-Dev/MPAS-Model.git

#-----------------------------
Expand Down Expand Up @@ -175,7 +203,7 @@ fxDONOTUSEurl = https://github.com/ESCOMP/CDEPS.git
[submodule "cice6"]
path = components/cice
url = https://github.com/NorESMhub/NorESM_CICE
fxtag = cesm_cice6_5_0_20240702_noresm_v1
fxtag = cesm_cice6_5_0_20240702_noresm_v2
fxrequired = ToplevelRequired
fxDONOTUSEurl = https://github.com/NorESMhub/NorESM_CICE

Expand Down
10 changes: 7 additions & 3 deletions bld/config_files/definition.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ Option to turn on waccmx thermosphere/ionosphere extension: 0 => no, 1 => yes
<entry id="ionosphere" valid_values="none,wxie" value="none">
Ionosphere model used in WACCMX.
</entry>
<entry id="phys" valid_values="cam3,cam4,cam5,cam6,cam_dev,held_suarez,adiabatic,kessler,tj2016,grayrad,spcam_sam1mom,spcam_m2005" value="">
Physics package: cam3, cam4, cam5, cam6, cam_dev, held_suarez, adiabatic, kessler, tj2016, grayrad, spcam_sam1mom, spcam_m2005.
<entry id="phys" valid_values="cam3,cam4,cam5,cam6,cam7,held_suarez,adiabatic,kessler,tj2016,grayrad,spcam_sam1mom,spcam_m2005" value="">
Physics package: cam3, cam4, cam5, cam6, cam7, held_suarez, adiabatic, kessler, tj2016, grayrad, spcam_sam1mom, spcam_m2005.
</entry>
<entry id="hemco" valid_values="0,1" value="0">
Switch to turn on Harmonized Emissions Component (HEMCO) for chemistry: 0 => no, 1 => yes.
Expand Down Expand Up @@ -153,9 +153,13 @@ Modifications that allow perturbation growth testing: 0=off, 1=on.
Configure CAM for single column mode: 0=off, 1=on. This option only
supported for the Eulerian dycore.
</entry>
<entry id="scam_iop" valid_values="arm95,arm97,atex,bomex,cgilss11,cgilss12,cgilss6,dycomsrf01,dycomsrf02,gateiii,mpace,rico,sas,sparticus,togaii,twp06,camfrc,none" value="none">
Single column IOP
Supported for Eulerian and SE dycores.
</entry>
<entry id="camiop" valid_values="0,1" value="0">
Configure CAM to generate an IOP file that can be used to drive SCAM: 0=no, 1=yes.
This option only supported for the Eulerian dycore.
This option supported for the Eulerian and SE dycores.
</entry>
<entry id="hgrid" value="">
Horizontal grid specifier. The recognized values depend on
Expand Down
16 changes: 10 additions & 6 deletions cime_config/config_component.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
CAM
===============
-->
<desc atm="CAM70[%LT][%MT][%CT1S][%CT4S]" >CAM cam7 physics:</desc>
<desc atm="CAM70[%LT][%MT][%CT1S][%CT4S][%GHGMAM4][%NORESM][%TROPMAM4][%CAMoslo]" >CAM cam7 physics:</desc>
<desc atm="CAM60[%1PCT][%4xCO2][%CT1S][%CT2S][%CFIRE][%CVBSX][%NUDG][%PORT][%RCO2][%SCAM][%SDYN][%WCCM][%WCMD][%WCSC][%WCTS][%WXIE][%WXIED][%HEMCO][%GEOSCHEM][%SCAMARM95][%SCAMARM97][%SCAMATEX][%SCAMBOMEX][%SCAMCGILSS11][%SCAMCGILSS12][%SCAMCGILSS6][%SCAMDYCOMSRF01][%SCAMDYCOMSRF02][%SCAMGATE3][%SCAMMPACE][%SCAMRICO][%SCAMSPARTICUS][%SCAMTOGA2][%SCAMTWP06][%SCAMCAMFRC]" >CAM cam6 physics:</desc>
<desc atm="CAM50[%CT1S][%CLB][%PORT][%RCO2][%MAM7][%SCAM][%SDYN][%WCSC][%WCTS][%SCAMARM95][%SCAMARM97][%SCAMATEX][%SCAMBOMEX][%SCAMCGILSS11][%SCAMCGILSS12][%SCAMCGILSS6][%SCAMDYCOMSRF01][%SCAMDYCOMSRF02][%SCAMGATE3][%SCAMMPACE][%SCAMRICO][%SCAMSPARTICUS][%SCAMTOGA2][%SCAMTWP06][%SCAMCAMFRC]" >CAM cam5 physics:</desc>
<desc atm="CAM40[%PORT][%RCO2][%SCAM][%SDYN][%TMOZ][%WX][%WXIE][%WXIED][%WCCM][%WCMD][%SCAMARM95][%SCAMARM97][%SCAMATEX][%SCAMBOMEX][%SCAMCGILSS11][%SCAMCGILSS12][%SCAMCGILSS6][%SCAMDYCOMSRF01][%SCAMDYCOMSRF02][%SCAMGATE3][%SCAMMPACE][%SCAMRICO][%SCAMSPARTICUS][%SCAMTOGA2][%SCAMTWP06][%SCAMCAMFRC]" >CAM cam4 physics:</desc>
<desc atm="CAM[%ADIAB][%DABIP04][%TJ16][%GRAYRAD][%HS94][%KESSLER][%RCO2][%SPCAMS][%SPCAMCLBS][%SPCAMM][%SPCAMCLBM]" >CAM simplified and non-versioned physics :</desc>
<desc atm="CAM[%ADIAB][%DABIP04][%TJ16][%GRAYRAD][%HS94][%KESSLER][%RCO2][%SPCAMS][%SPCAMCLBS][%SPCAMM][%SPCAMCLBM]" >CAM simplified and non-versioned physics :</desc>

<!--
=================
Expand Down Expand Up @@ -43,13 +43,14 @@
CAM Options
===============
-->
<desc option="CFIRE" >CAM-Chem troposphere/stratosphere chem with simplified volatility basis set SOA scheme and fire emissons :</desc>
<desc option="CLB" >CAM CLUBB - turned on by default in CAM60:</desc>
<desc option="CT1S" >CAM-Chem troposphere/stratosphere chemistry with simplified VBS-SOA:</desc>
<desc option="CT2S" >CAM-Chem troposphere/stratosphere chemistry with simplified VBS-SOA and expanded isoprene and terpene oxidation:</desc>
<desc option="CT4S" >CAM-Chem troposphere/stratosphere simplified chemistry for climate simulations:</desc>
<desc option="GEOSCHEM" >GEOS-Chem troposphere/stratosphere chemistry :</desc>
<desc option="CFIRE" >CAM-Chem troposphere/stratosphere chem with simplified volatility basis set SOA scheme and fire emissons :</desc>
<desc option="CLB" >CAM CLUBB - turned on by default in CAM60:</desc>
<desc option="CVBSX" >CAM-Chem troposphere/stratosphere chem with extended volatility basis set SOA scheme and modal aersols :</desc>
<desc option="GEOSCHEM" >GEOS-Chem troposphere/stratosphere chemistry :</desc>
<desc option="GHGMAM4" >Prognostic GHG chemistry mechanism for CAM7:</desc>
<desc option="LT" >CAM low top model </desc>
<desc option="MAM7" >Modal Aerosol Model composed of 7 modes: </desc>
<desc option="MT" >CAM mid top model </desc>
Expand Down Expand Up @@ -153,10 +154,12 @@
<!-- NorESM-specific modifiers -->
<value compset="_CAM.*(%NORESM)">-camnor</value>
<value compset="_CAM.*(%TROPMAM4)">-chem trop_mam4</value>
<value compset="_CAM.*(%GHGMAM4)">-chem ghg_mam4</value>
<value compset="_CAM.*(%CAMoslo)">-chem trop_mam_oslo</value>

<!-- Modifiers for CAM runs (%.* includes SCAM runs) -->
<value compset="_CAM.*(%CT1S|%CFIRE)">-chem trop_strat_mam5_vbs</value>
<value compset="_CAM.*(%GHGMAM4)">-chem ghg_mam4</value>
<value compset="_CAM60.*%(GEOSCHEM)">-chem geoschem_mam4</value>

<value compset="%MAM7">-chem trop_mam7</value>
Expand Down Expand Up @@ -341,10 +344,11 @@
<value compset="CAM%KESSLER" >dctest_baro_kessler</value>

<!-- NorESM use cases -->
<value compset="1850_CAM70%LT%NORESM%TROPMAM4" >1850_camnor_lt_tropmam4</value>
<value compset="1850_CAM70%LT%NORESM%CAMoslo" >1850_camnor_lt_osloaero</value>
<value compset="HIST_CAM70%LT%NORESM%TROPMAM4">hist_camnor_lt_tropmam4</value>
<value compset="HIST_CAM70%LT%NORESM%CAMoslo" >hist_camnor_lt_osloaero</value>


<!-- SCAM defaults to ARM97, all other IOPs are in usermods_dirs -->
<!-- <value compset="CAM[456]0%SCAM" >scam_arm97</value> -->
</values>
Expand Down
1 change: 0 additions & 1 deletion components/mizuRoute
Submodule mizuRoute deleted from 2ff305
1 change: 0 additions & 1 deletion components/rtm
Submodule rtm deleted from b3dfcf
2 changes: 1 addition & 1 deletion src/atmos_phys
Submodule atmos_phys updated 94 files
+12 −2 .github/workflows/test.yaml
+201 −0 LICENSE
+0 −34 LICENSE.txt
+348 −0 doc/ChangeLog
+268 −1 doc/NamesNotInDictionary.txt
+0 −193 musica/micm/micm.F90
+218 −0 schemes/dry_adiabatic_adjust/dadadj.F90
+147 −0 schemes/dry_adiabatic_adjust/dadadj.meta
+33 −0 schemes/dry_adiabatic_adjust/dadadj_apply_qv_tendency.F90
+42 −0 schemes/dry_adiabatic_adjust/dadadj_apply_qv_tendency.meta
+108 −0 schemes/dry_adiabatic_adjust/dadadj_namelist.xml
+0 −0 schemes/held_suarez/held_suarez_1994.F90
+0 −0 schemes/held_suarez/held_suarez_1994.meta
+0 −0 schemes/kessler/kessler.F90
+0 −0 schemes/kessler/kessler.meta
+0 −0 schemes/kessler/kessler_update.F90
+1 −1 schemes/kessler/kessler_update.meta
+142 −0 schemes/musica/micm/musica_ccpp_micm.F90
+136 −0 schemes/musica/micm/musica_ccpp_micm_util.F90
+150 −0 schemes/musica/musica_ccpp.F90
+57 −37 schemes/musica/musica_ccpp.meta
+16 −3 schemes/musica/musica_ccpp_namelist.xml
+40 −0 schemes/musica/musica_ccpp_util.F90
+232 −0 schemes/musica/tuvx/musica_ccpp_tuvx.F90
+171 −0 schemes/musica/tuvx/musica_ccpp_tuvx_height_grid.F90
+70 −0 schemes/musica/tuvx/musica_ccpp_tuvx_temperature.F90
+58 −0 schemes/sima_diagnostics/kessler_diagnostics.F90
+41 −0 schemes/sima_diagnostics/kessler_diagnostics.meta
+78 −0 schemes/sima_diagnostics/scheme_diagnostics_template.F90
+180 −0 schemes/sima_diagnostics/sima_state_diagnostics.F90
+191 −0 schemes/sima_diagnostics/sima_state_diagnostics.meta
+48 −0 schemes/sima_diagnostics/sima_tend_diagnostics.F90
+53 −0 schemes/sima_diagnostics/sima_tend_diagnostics.meta
+218 −0 schemes/sima_diagnostics/tropopause_diagnostics.F90
+191 −0 schemes/sima_diagnostics/tropopause_diagnostics.meta
+114 −0 schemes/tj2016/tj2016_precip.F90
+143 −0 schemes/tj2016/tj2016_precip.meta
+495 −0 schemes/tj2016/tj2016_sfc_pbl_hs.F90
+287 −0 schemes/tj2016/tj2016_sfc_pbl_hs.meta
+1,455 −0 schemes/tropopause_find/tropopause_find.F90
+305 −0 schemes/tropopause_find/tropopause_find.meta
+0 −0 schemes/utilities/geopotential_temp.F90
+1 −1 schemes/utilities/geopotential_temp.meta
+0 −0 schemes/utilities/physics_tendency_updaters.F90
+0 −0 schemes/utilities/physics_tendency_updaters.meta
+0 −0 schemes/utilities/qneg.F90
+0 −0 schemes/utilities/qneg.meta
+0 −0 schemes/utilities/qneg_namelist.xml
+0 −0 schemes/utilities/state_converters.F90
+0 −0 schemes/utilities/state_converters.meta
+0 −0 schemes/utilities/static_energy.F90
+0 −0 schemes/utilities/static_energy.meta
+1 −4 schemes/zhang_mcfarlane/zm_conv_convtran.F90
+0 −6 schemes/zhang_mcfarlane/zm_conv_convtran.meta
+0 −0 schemes/zhang_mcfarlane/zm_conv_evap.F90
+1 −1 schemes/zhang_mcfarlane/zm_conv_evap.meta
+2 −2 schemes/zhang_mcfarlane/zm_conv_momtran.F90
+0 −0 schemes/zhang_mcfarlane/zm_conv_momtran.meta
+4 −4 schemes/zhang_mcfarlane/zm_convr.F90
+2 −2 schemes/zhang_mcfarlane/zm_convr.meta
+0 −0 suites/suite_cam4.xml
+0 −0 suites/suite_cam6.xml
+0 −0 suites/suite_cam6_silhs.xml
+23 −0 suites/suite_cam7.xml
+4 −0 suites/suite_held_suarez_1994.xml
+5 −0 suites/suite_kessler.xml
+1 −1 suites/suite_musica.xml
+19 −0 suites/suite_tj2016.xml
+10 −6 test/CMakeLists.txt
+1 −1 test/cmake/SetDefaults.cmake
+23 −0 test/cmake/TestUtils.cmake
+46 −10 test/docker/Dockerfile.musica
+80 −0 test/docker/Dockerfile.musica.no_install
+87 −0 test/musica/CMakeLists.txt
+10 −36 test/musica/micm/CMakeLists.txt
+3 −3 test/musica/micm/configs/chapman/reactions.json
+16 −6 test/musica/micm/configs/chapman/species.json
+0 −131 test/musica/micm/test_micm_api.F90
+131 −0 test/musica/micm/test_micm_util.F90
+12 −0 test/musica/musica_ccpp_namelist.F90
+137 −0 test/musica/test_musica_api.F90
+56 −0 test/musica/tuvx/CMakeLists.txt
+2,077 −0 test/musica/tuvx/configs/ts1_tsmlt.json
+103 −0 test/musica/tuvx/test_tuvx_height_grid.F90
+64 −0 test/musica/tuvx/test_tuvx_temperature.F90
+12 −0 test/test_suites/suite_dry_adiabatic_adjust.xml
+10 −0 test/test_suites/suite_tj2016_precip.xml
+12 −0 test/test_suites/suite_tj2016_sfc_pbl_hs.xml
+12 −0 test/test_suites/suite_tropopause_find.xml
+38 −0 test/valgrind.supp
+50 −0 to_be_ccppized/ccpp_const_utils.F90
+152 −0 to_be_ccppized/coords_1d.F90
+1,181 −0 to_be_ccppized/linear_1d_operators.F90
+130 −0 to_be_ccppized/vertical_diffusion_solver.F90

0 comments on commit e00f8b1

Please sign in to comment.