Skip to content

Latest commit

 

History

History
62 lines (46 loc) · 1.27 KB

File metadata and controls

62 lines (46 loc) · 1.27 KB

real_CORDEX-EUR-11u_iconv2.6.4-eclm-parflowv3.12

Introduction

This simulation experiment make use of the TSMP2 workflow engine for running simulations.

Setup the workflow

sim_id=real_CORDEX-EUR-11u_iconv2.6.4-eclm-parflowv3.12_wfe-case
cd $PROJECT_DIR
git clone --recurse-submodules https://github.com/HPSCTerrSys/simexp_$sim_id $sim_id
wfe_dir=realpath $sim_id

Building the model

The TSMP2 ( https://github.com/HPSCTerrSys/TSMP2 ) should be either already compiled (see ReadMe TSMP2) or compiled with the following steps.

  1. change directory
cd ${wfe_dir}/src/TSMP2
  1. compile the code
# TSMP2
./build_tsmp2.sh --icon --eclm --parflow

Run experiment

Create and softlink run-directory on SCRATCH

export SCRATCH_DIR=/p/scratch/YOUR_PROJECT/$USER/$sim_id
mkdir -pv $SCRATCH_DIR
ln -s $SCRATCH_DIR/run run

Adapt ressources and time in the setup-script.

cd ctl
vi setup_tsmp2.sh

Activate a compute project

# Replace PROJECTNAME with your compute project
jutil env activate -p PROJECTNAME

# Check if $BUDGET_ACCOUNTS was set.
echo $BUDGET_ACCOUNTS

Start simulation

sh setup_tsmp2.sh

Contact

Stefan Poll ([email protected])