job.cfg 792 B

123456789101112131415161718192021222324252627282930
  1. # PBS job options
  2. PBS -N ${exp_name}
  3. PBS -q large
  4. PBS -r y
  5. PBS -W group_list=limhr
  6. PBS -l walltime=17:00:00
  7. PBS -l select=11:ncpus=24:mem=63000mb:mpiprocs=24:ompthreads=1
  8. #PBS -M ${email}
  9. #PBS -m abe
  10. exec > ${PBS_O_WORKDIR-$PWD}/${PBS_JOBNAME-"local"}_${PBS_JOBID-"id"}.log
  11. echo "------------------ Job Info --------------------"
  12. echo "jobid : $PBS_JOBID"
  13. echo "jobname : $PBS_JOBNAME"
  14. echo "job type : $PBS_ENVIRONMENT"
  15. echo "submit dir : $PBS_O_WORKDIR"
  16. echo "queue : $PBS_O_QUEUE"
  17. echo "user : $PBS_O_LOGNAME"
  18. echo "threads : $OMP_NUM_THREADS"
  19. start_dir=${PBS_O_WORKDIR-$PWD}
  20. run_dir="/SCRATCH/acad/limhr/$USER/nemo/run/${exp_name}"
  21. archive_dir="/SCRATCH/acad/limhr/$USER/nemo/archive/${exp_name}"
  22. # Cancel job on error
  23. set -ueo pipefail
  24. # RESET script arguments
  25. set -- $PBS_OPTIONS