Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can get the CESM source code with MOSAIC by executing the following commands:

Code Block
languagebash
git clone https://github.com/ESCOMP/CAM -b zz_cam6_3_018_mosaic_branch cesm_src_cam6_3_018_mosaic
cd cesm_src_cam6_3_018_mosaic

April 2024: the current tag has references to SVN that need to be changed to GIT.  Edit Externals_CAM.cfg (update from svn to git, and change cosp to 'required = False').  

Diff between original and corrected files:

----
3,4c3,4
< protocol = svn
< repo_url = https://svn-ccsm-models.cgd.ucar.edu/tools/proc_atm/chem_proc/release_tags
---
> protocol = git
> repo_url = https://github.com/ESCOMP/CHEM_PREPROCESSOR.git
10,12c10,12
< protocol = svn
< repo_url = https://svn-ccsm-models.cgd.ucar.edu/carma/release_tags
< tag = carma3_49_rel
---
> protocol = git
> repo_url = https://github.com/ESCOMP/CARMA_base.git
> tag = carma4_01
17,20c17,21
< protocol = svn
< repo_url = https://github.com/CFMIP/COSPv2.0/tags/
< tag = v2.1.4cesm/src
< required = True
---
> protocol = git
> repo_url = https://github.com/CFMIP/COSPv2.0
> sparse = ../.cosp_sparse_checkout
> tag = v2.1.4cesm
> required = False
---

Code Block
languagebash
./manage_externals/checkout_externals

CESM tutorials should be helpful if you are not familiar with CESM/CAM-chem, and how to set up a case from the code.

...