Update Aquaplanet slab ocean authored by Dian Putrasahan's avatar Dian Putrasahan
......@@ -3,7 +3,7 @@ Currently, one has to use the `mpiesm-landveg` branch if you'd like to run aquap
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
# 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
......@@ -30,7 +30,7 @@ git submodule update --init
git submodule
```
## Compile model
# Compile model
### Read RECIPE.landveg
### Edit landveg-compile.ksh to your needs
......@@ -54,3 +54,65 @@ make_argument="-j 8" # number of processes for make, 'clean' or 'distclean'
```bash
./landveg-compile.ksh
```
# Generate run script
The recipe/guideline on how to do this is in an older version of RECIPE.landveg. However, with the new checkout of `mpiesm-landveg`, this is no longer available. Hence, a snippet of that guideline is attached here.
```yaml
Running
---------
For standard simulation with mpiesm-asob we recommend to use runscripts generated
with mkexp (compare RECIPE section 3 and below).
For all other configurations generate the run scripts using Create_TASKS.frm
cd util/running/tools/
./Create_TASKS.frm <cplmod> --id <expid> [--node <node>]
with <cplmod> as defined above, <expid> being an experiment id of your choice,
and <node> being the computer name ('linux-x64' for CIS linux PCs, optional for
mistral).
Adapt the setup file you just created. Especially,
atmvers / srfvers (executable id) has to be consitent to the version 'vers'
defined in the compile script.
account account for computing time, e.g. mj0060, needs to be set on mistral
Then run Create_TASKS.frm again with the same parameters.
./Create_TASKS.frm <cplmod> --id <expid> [--node <node>]
```
### Here's an example for the aquaplanet slab ocean
```bash
cd util/running/tools/
./Create_TASKS.frm mpiesm-as --id aqua
```
This creates a setup file, `setup_mpiesm-as_aqua` in the `util/running/setup/` folder. \
Modify `setup_mpiesm-as_aqua`
```
atm_out_filetype=2
iaero=0
isolrad=0
nsoil=1
#compile_path=mpiesm-landveg/build-${cplmod}-aqua/bin
export data=/work/mh1421/mxxxxxx/experiments_landveg
export archive=/work/mh1421/mxxxxxx/experiments_landveg
work=/work/mh1421/mxxxxxx/experiments_landveg
account='mh1421'
```
Note that 'compile_path' is commented out, `experiments_landveg` is a folder created beforehand to store model output.
### Generating run script for each experiment
```bash
cd util/running/tools
Create_TASKS.frm -F setup_mpiesm-as_aqua --id aqua0101 mpiesm-as
```