Create Aquaplanet slab ocean authored by Dian Putrasahan's avatar Dian Putrasahan
# How to run aquaplanet slab ocean experiments using MPI-ESM
Currently, one has to use the `mpiesm-landveg` branch if you'd like to run aquaplanet slab ocean.
The example shown below is based on [previous guideline in here](https://gitlab.dkrz.de/jsbach/jsbach/-/wikis/uploads/3bae9f07c2ab3a9c5ac33a6894f9c211/Getting_Started_with_Git_for_MPIESM.pdf)
## Download model
### Clone mpiesm without --recursive and put it in directory mpiesm-landveg
```bash
git clone git@git.mpimet.mpg.de:mpiesm.git mpiesm-landveg
cd mpiesm-landveg
# Check which branch you're on
git branch
```
### Check out `mpiesm-landveg` branch
```bash
git checkout mpiesm-landveg
# Check which branch you're on
git branch
```
### Check whether submodules are initialised and/or checked out (likely not)
```bash
git submodule
# This should list all submodules not yet initialised or checked out
```
### Initialise and check out submodules, then check again
```bash
git submodule update --init
git submodule
```
## Compile model
### Read RECIPE.landveg
### Edit landveg-compile.ksh to your needs
Of primary importance for aquaplanet slab ocean, you will be using mpiesm-as (echam6 only).
```bash
vers=aqua # model version (tag used in the executable name)
cplmod=mpiesm-as # coupled model name: mpiesm-s (jsbach3, cbalance, hd)
# mpiesm-s4 (jsbach4)
# mpiesm-as (echam6)
# mpiesm-as4 (echam6 with jsbach4)
# mpiesm-asob (mpiesm-1.2)
compiler=intel # compiler to be used (nag/intel/gcc)
configure=yes # yes: run configure - mandatory if running the first time model version $vers
automake=no # yes: run automake, e.g. if dependencies changed (only with configure=yes)
make_argument="-j 8" # number of processes for make, 'clean' or 'distclean'
# (make clean needs the modules, thus script is helpful)
```
### Execute landveg-compile.ksh
```bash
./landveg-compile.ksh
```
\ No newline at end of file