12345678910111213141516171819 |
- # Slurm job options
- SBATCH --job-name=${exp_name}
- SBATCH --time=2:25:00
- SBATCH --ntasks=${total_nb_cpu}
- SBATCH --mem-per-cpu=2048
- SBATCH --partition=Def
- #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
|