#!/bin/bash

############ AUTOSUBMIT INPUTS ############
proj_dir=%PROJDIR%
outdir=%common.OUTDIR%
script=%common.SCRIPT%
SPLIT=%SPLIT%
###############################

cd $proj_dir

source split_to_recipe
# atomic_recipe_number=$(printf "%02d" $CHUNK)
atomic_recipe=${outdir}/logs/recipes/multimodel/atomic_recipe_sys-Multimodel${recipe}.yml

source MODULES

Rscript ${script} ${atomic_recipe}
