lemaitre3.sh.tmpl 616 B

123456789101112131415161718192021222324
  1. #!/bin/bash
  2. # Submission script for Lemaitre3
  3. #SBATCH --job-name=ece3
  4. #SBATCH --time=23:50:00
  5. #
  6. #SBATCH --ntasks=144
  7. #SBATCH --mem-per-cpu=3072
  8. #
  9. ##SBATCH --mail-user=noname@uclouvain.be
  10. #SBATCH --mail-type=ALL
  11. #SBATCH --open-mode=append
  12. #SBATCH --switches=1@47:50:00
  13. set -ueo pipefail
  14. exec > ${SLURM_SUBMIT_DIR-$PWD}/${SLURM_JOB_NAME-"local"}_${SLURM_JOB_ID-"id"}.log
  15. echo "------------------ Job Info --------------------"
  16. echo "jobid : ${SLURM_JOB_ID-"local"}"
  17. echo "jobname : ${SLURM_JOB_NAME-"local"}"
  18. echo "submit dir : ${SLURM_SUBMIT_DIR-"local"}"
  19. set -ue
  20. # Directories
  21. start_dir=${SLURM_SUBMIT_DIR-$PWD}