[4159] | 1 | #!/bin/bash |
---|
| 2 | #PBS -N INTERPOLATION |
---|
| 3 | #PBS -q day |
---|
| 4 | #PBS -n |
---|
[4163] | 5 | #PBS -l nodes=1:ppn=64 |
---|
[4159] | 6 | #PBS -l walltime=20:30:00 |
---|
| 7 | #PBS -l mem=120gb |
---|
| 8 | #PBS -l vmem=120gb |
---|
| 9 | |
---|
| 10 | #####comment:PBS -l mem=31922327552,ncpus=60 |
---|
| 11 | cd "$PBS_O_WORKDIR" |
---|
| 12 | |
---|
| 13 | ############################################################ |
---|
| 14 | NCPU=$(wc -l < $PBS_NODEFILE) |
---|
| 15 | awk "NR % 4 == 0" $PBS_NODEFILE | head -n 40 > nodelist.txt |
---|
| 16 | |
---|
| 17 | echo ------------------JOB SUMMARY-------------------------- |
---|
| 18 | echo 'PBS OUT: Job allocated on: '${NCPU}' cpu(s)' |
---|
| 19 | echo 'PBS OUT: Job running on the following node(s): ' |
---|
| 20 | cat nodelist.txt |
---|
| 21 | echo ------------------------------------------------------- |
---|
| 22 | echo PBS OUT: Job running on: $PBS_O_HOST |
---|
| 23 | echo PBS OUT: Originating queue: $PBS_O_QUEUE |
---|
| 24 | echo PBS OUT: Executing queue: $PBS_QUEUE |
---|
| 25 | echo PBS OUT: Work directory: $PBS_O_WORKDIR |
---|
| 26 | echo PBS OUT: Execution mode: $PBS_ENVIRONMENT |
---|
| 27 | echo PBS OUT: Job identifier: $PBS_JOBID |
---|
| 28 | echo PBS OUT: Job name: $PBS_JOBNAME |
---|
| 29 | echo PBS OUT: Node file: $PBS_NODEFILE |
---|
| 30 | echo PBS OUT: Current home directory: $PBS_O_HOME |
---|
| 31 | echo PBS OUT: PATH= $PBS_O_PATH |
---|
| 32 | echo ------------------------------------------------------- |
---|
| 33 | |
---|
| 34 | |
---|
[4163] | 35 | #export OMP_NUM_THREADS=1 |
---|
| 36 | #export OMP_STACKSIZE=128M |
---|
[4159] | 37 | ulimit -s unlimited |
---|
| 38 | |
---|
| 39 | module load python/2.7-anaconda50 |
---|
| 40 | python vertical_interpolation_camelot.py >> vertical_interpolation.log |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | |
---|