diff --git a/docs/users_guide/introduction/quick_start.md b/docs/users_guide/introduction/quick_start.md index cd491cd66..3ea645110 100644 --- a/docs/users_guide/introduction/quick_start.md +++ b/docs/users_guide/introduction/quick_start.md @@ -67,13 +67,53 @@ cd TSMP2 3. Set up a simulation experiment. ```sh -cd /share +cd .. git clone https://icg4geo.icg.kfa-juelich.de/ExternalReposPublic/tsmp2-static-files/extpar_eclm_wuestebach_sp.git cd extpar_eclm_wuestebach_sp/static.resources -generate_wtb_namelists.sh 1x1_wuestebach +./generate_wtb_namelists.sh 1x1_wuestebach + +# Download large files (possibly git-lfs needs to be configured) +cd .. +git lfs install +git lfs pull ``` -4. Run eCLM. +4a. (ONLY on JSC systems) Set up the run directory with symlinks and a +job script. + +```sh +cd 1x1_wuestebach + +# Symlink the eCLM executable and the JSC environment file +ln -s ../../../TSMP2/bin/JUWELS_eCLM/bin/eclm.exe eclm.exe +ln -s ../../../TSMP2/bin/JUWELS_eCLM/jsc.2025.intel.psmpi loadenvs + +cat > jobscript.slurm << 'EOF' +#!/usr/bin/env bash +#SBATCH --job-name=1x1_wuestebach +#SBATCH --nodes=1 +#SBATCH --ntasks-per-node=48 +#SBATCH --account=jibg36 +#SBATCH --partition=batch +#SBATCH --time=0:30:00 +#SBATCH --output=logs/%j.eclm.1x1_wuestebach.out +#SBATCH --error=logs/%j.eclm.1x1_wuestebach.err + +# Load environment +source loadenvs + +# Run model +srun -n $SLURM_NTASKS eclm.exe +EOF +``` + +Run eCLM: +```sh +# On JSC systems (submit via Slurm): +sbatch jobscript.slurm +``` + +4b. (GENERIC HPC) Run eCLM. ```sh cd 1x1_wuestebach