job.cfg 554 B

1234567891011121314151617181920212223
  1. # PBS job options
  2. PBS -N ${exp_name}
  3. PBS -q qdef
  4. PBS -r y
  5. PBS -l walltime=10:00:00
  6. PBS -l nodes=1:ppn=11,pmem=5gb
  7. #PBS -M ${email}
  8. exec > ${PBS_O_WORKDIR-$PWD}/${PBS_JOBNAME-"local"}_${PBS_JOBID-"id"}.log
  9. echo "------------------ Job Info --------------------"
  10. echo "jobid : $PBS_JOBID"
  11. echo "jobname : $PBS_JOBNAME"
  12. echo "job type : $PBS_ENVIRONMENT"
  13. echo "submit dir : $PBS_O_WORKDIR"
  14. echo "queue : $PBS_O_QUEUE"
  15. echo "user : $PBS_O_LOGNAME"
  16. # Cancel job on error
  17. set -ueo pipefail
  18. # RESET script arguments
  19. NOTHING=""
  20. set -- ${PBS_OPTIONS-$NOTHING}