job.cfg 462 B

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