123456789101112131415161718192021222324252627282930 |
- # PBS job options
- PBS -N ${exp_name}
- PBS -q large
- PBS -r y
- PBS -W group_list=limhr
- PBS -l walltime=17:00:00
- PBS -l select=11:ncpus=24:mem=63000mb:mpiprocs=24:ompthreads=1
- #PBS -M ${email}
- #PBS -m abe
- exec > ${PBS_O_WORKDIR-$PWD}/${PBS_JOBNAME-"local"}_${PBS_JOBID-"id"}.log
- echo "------------------ Job Info --------------------"
- echo "jobid : $PBS_JOBID"
- echo "jobname : $PBS_JOBNAME"
- echo "job type : $PBS_ENVIRONMENT"
- echo "submit dir : $PBS_O_WORKDIR"
- echo "queue : $PBS_O_QUEUE"
- echo "user : $PBS_O_LOGNAME"
- echo "threads : $OMP_NUM_THREADS"
- start_dir=${PBS_O_WORKDIR-$PWD}
- run_dir="/SCRATCH/acad/limhr/$USER/nemo/run/${exp_name}"
- archive_dir="/SCRATCH/acad/limhr/$USER/nemo/archive/${exp_name}"
- # Cancel job on error
- set -ueo pipefail
- # RESET script arguments
- set -- $PBS_OPTIONS
|