This simulation experiment make use of the TSMP2 workflow engine for running simulations.
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
The TSMP2 ( https://github.com/HPSCTerrSys/TSMP2 ) should be either already compiled (see ReadMe TSMP2) or compiled with the following steps.
- change directory
cd ${wfe_dir}/src/TSMP2
- compile the code
# TSMP2
./build_tsmp2.sh --icon --eclm --parflow
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
Stefan Poll ([email protected])