# Slurm job options SBATCH --job-name=${exp_name} SBATCH --time=23:55:00 #SBATCH --time=05:55:00 SBATCH --ntasks=${total_nb_cpu} SBATCH --mem-per-cpu=3072 SBATCH --partition=Def i#SBATCH --partition=PostP #SBATCH --mail-user=${email} SBATCH --mail-type=ALL SBATCH --open-mode=append start_dir=${SLURM_SUBMIT_DIR-$PWD} run_dir="$GLOBALSCRATCH/nemo/run/${exp_name}" archive_dir="$GLOBALSCRATCH/nemo/archive/${exp_name}" # Cancel job on error set -ueo pipefail