job.cfg 436 B

12345678910111213141516171819
  1. # Slurm job options
  2. SBATCH --job-name=${exp_name}
  3. SBATCH --time=2:25:00
  4. SBATCH --ntasks=${total_nb_cpu}
  5. SBATCH --mem-per-cpu=2048
  6. SBATCH --partition=Def
  7. #SBATCH --partition=PostP
  8. #SBATCH --mail-user=${email}
  9. SBATCH --mail-type=ALL
  10. SBATCH --open-mode=append
  11. start_dir=${SLURM_SUBMIT_DIR-$PWD}
  12. run_dir="$GLOBALSCRATCH/nemo/run/${exp_name}"
  13. archive_dir="$GLOBALSCRATCH/nemo/archive/${exp_name}"
  14. # Cancel job on error
  15. set -ueo pipefail