Skip to content
Snippets Groups Projects
Commit d51ded61 authored by Aiko Voigt's avatar Aiko Voigt
Browse files

Updates Readme and amip run script

parent 61502220
Branches
No related tags found
No related merge requests found
...@@ -18,10 +18,29 @@ make dist ...@@ -18,10 +18,29 @@ make dist
``` ```
This leads to the file `icon-2.6.0.tar.bz2`, which can be distributed to the students. This leads to the file `icon-2.6.0.tar.bz2`, which can be distributed to the students.
## VSC reservation info and usage
To check the reservation:
```
scontrol show reservation=p72044
```
To use the reservation on the command line:
```
--reservation=p72044
```
```
To use the reservation in a job script:
#SBATCH --reservation=p72044
```
## Recipe for students: how to get, configure and compile ICON on VSC4 ## Recipe for students: how to get, configure and compile ICON on VSC4
Reserve a node for interactive use, do not work on the login nodes. See [VSC Wiki](https://docs.vsc.ac.at/running_jobs/interactive_jobs/). Reserve a node for interactive use, do not work on the login nodes. See [VSC Wiki](https://docs.vsc.ac.at/running_jobs/interactive_jobs/).
``` ```
interactivejobs -N 1 skylake_0096 --qos skylake_0096 --exclusive -t 2:00:00 interactivejobs -N 1 skylake_0096 --qos skylake_0096 --exclusive -t 2:00:00
``` ```
......
...@@ -3,14 +3,17 @@ ...@@ -3,14 +3,17 @@
#SBATCH --account=p72044 #SBATCH --account=p72044
#SBATCH --partition=skylake_0096 #SBATCH --partition=skylake_0096
#SBATCH --qos=skylake_0096 #SBATCH --qos=skylake_0096
#SBATCH --qos=skylake_0096_devel
#SBATCH --job-name=amip #SBATCH --job-name=amip
#SBATCH --nodes=3 ##SBATCH --nodes=3
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=48 #SBATCH --ntasks-per-node=48
#SBATCH --ntasks-per-core=1 #SBATCH --ntasks-per-core=1
#SBATCH --output=/home/fs72044/avoigt_teach/climlab_s2025/msc-climmodlab-s2025/runs/amip/logfiles/LOG.exp.amip.run.%j.o #SBATCH --output=/gpfs/data/fs72044/avoigt_teach/climlab_s2025/msc-climate-modeling-lab-s2025-code-4-students/runs/amip/LOG.exp.amip.run.%j.o
#SBATCH --error=/home/fs72044/avoigt_teach/climlab_s2025/msc-climmodlab-s2025/runs/amip/logfiles/LOG.exp.amip.run.%j.o #SBATCH --error=/gpfs/data/fs72044/avoigt_teach/climlab_s2025/msc-climate-modeling-lab-s2025-code-4-students/runs/amip/LOG.exp.amip.run.%j.o
#SBATCH --exclusive #SBATCH --exclusive
#SBATCH --time=02:30:00 ##SBATCH --time=02:30:00
#SBATCH --time=00:05:00
#SBATCH --mail-user=aiko.voigt@univie.ac.at #SBATCH --mail-user=aiko.voigt@univie.ac.at
#SBATCH --mail-type=BEGIN,END,FAIL #SBATCH --mail-type=BEGIN,END,FAIL
...@@ -38,8 +41,8 @@ nproma=16 ...@@ -38,8 +41,8 @@ nproma=16
# SIMULATION NAME # SIMULATION NAME
EXP=amip EXP=amip
ICONFOLDER=/home/fs72044/avoigt_teach/climlab_s2025/icon-esm-univie # DIRECTORY OF ICON MODEL CODE ICONFOLDER=/gpfs/data/fs72044/avoigt_teach/climlab_s2025/icon-esm-univie # DIRECTORY OF ICON MODEL CODE
RUNSCRIPTDIR=/home/fs72044/avoigt_teach/climlab_s2025/msc-climate-modeling-lab-s2025-code-4-students/runs/amip/ RUNSCRIPTDIR=/gpfs/data/fs72044/avoigt_teach/climlab_s2025/msc-climate-modeling-lab-s2025-code-4-students/runs/amip/
basedir=$ICONFOLDER # icon base directory basedir=$ICONFOLDER # icon base directory
. ${ICONFOLDER}/run/add_run_routines . ${ICONFOLDER}/run/add_run_routines
...@@ -120,7 +123,7 @@ ln -sfv $aerosols_dir/bc_aeropt_kinne_sw_b14_coa.nc . ...@@ -120,7 +123,7 @@ ln -sfv $aerosols_dir/bc_aeropt_kinne_sw_b14_coa.nc .
ln -sfv $aerosols_dir/bc_aeropt_kinne_sw_b14_fin_1850.nc bc_aeropt_kinne_sw_b14_fin.nc ln -sfv $aerosols_dir/bc_aeropt_kinne_sw_b14_fin_1850.nc bc_aeropt_kinne_sw_b14_fin.nc
# [files.atmosphere.model] # [files.atmosphere.model]
model_dir=/home/fs72044/avoigt_teach/climlab_s2025/icon-esm-univie model_dir=/gpfs/data/fs72044/avoigt_teach/climlab_s2025/icon-esm-univie
# [files.atmosphere.model.data] # [files.atmosphere.model.data]
ln -sfv $model_dir/data/lsdata.nc . ln -sfv $model_dir/data/lsdata.nc .
...@@ -428,7 +431,6 @@ EOF ...@@ -428,7 +431,6 @@ EOF
# --------------- # ---------------
cat > NAMELIST_lnd << EOF cat > NAMELIST_lnd << EOF
&jsb_model_nml &jsb_model_nml
usecase = 'jsbach_pfts' usecase = 'jsbach_pfts'
use_lakes = .true. use_lakes = .true.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment