Installing your own version of CESM
These instructions are for users who need to download their own version of CESM2.
Do not load the CESM module. If you have a cesm module loaded, unload it:
module unload cesm
Clone the version of CESM you want from the github repo:
The various Oscar-specific XML files needed to run CESM, including
config_batch.xml
config_compilers.xml
config_machines.xml
can be obtained from this github repo. The easiest way to incorporate these files into your build is to place them in a directory named .cime within your home directory (i.e., ~/.cime). For example:
To setup, build, and run a case on Oscar:
Load the necessary modules (line 1-7 below)
Move to the cime_scripts directory (line 8)
Create a new case, selecting your desired <CASENAME>, <COMPSET>, and <GRID > (line 9)
Move to your CASEROOT directory (line 10)
Setup the case (line 11)
Build the case (line 12)
Submit the case (line 13)
By default, component log files, history files, and restart files for your case will be placed in /gpfs/home/$USER/data/$USER/archive/<CASENAME>.
Last updated