Create CDY branch of MPI ESM authored by Dian Putrasahan's avatar Dian Putrasahan
# How to download and compile CDY branch of MPIESM
## Model Installation
### Load modules
```bash
module purge
module load git
module add intel-oneapi-compilers/2022.0.1-gcc-11.2.0 intel-oneapi-mkl/2022.0.1-gcc-11.2.0 openmpi/4.1.2-intel-2021.5.0
module add cdo ncl imagemagick ghostscript
```
### Get model source code
```bash
git clone --branch features/mpiesm-1.2.01p8-cdy --recurse-submodules git@git.mpimet.mpg.de:mpiesm.git mpiesm-1.2.01p8-cdy
cd mpiesm-1.2.01p8-cdy
```
### Compile model
```bash
./configure --disable-HAMOCC
make -j 24
make install
```
## Setup test experiment
```bash
cd run
# Pick your experiment id
EXP_ID=mpiesm-lr-pictrl-test
# Quickstart using piControl
../util/mkexp/setconfig --header 'My first MPIESM-LR experiment' examples/control.config ACCOUNT=mh1421 > $EXP_ID.config
# Optionally edit $EXP_ID.config, possibly adjusting namelist settings or FINAL_DATE
# A helpful example may be SH_MLAT_r1i1p1f1.config, which will result in a CGF-MIP type run (forcing the Southern Hemisphere mid-latitudes/sub-tropics with 4xCO2 and starting from the state at the end of a pi-ctrl run).
../util/mkexp/mkexp $EXP_ID.config
```
## Submit job
```bash
cd ../experiments/$EXP_ID/scripts
sbatch $EXP_ID.run_start
```