#!/bin/bash #PBS -N INTERPOLATION #PBS -q day #PBS -n #PBS -l nodes=1:ppn=8 #PBS -l walltime=20:30:00 #PBS -l mem=120gb #PBS -l vmem=120gb #####comment:PBS -l mem=31922327552,ncpus=60 #Jobs start in the HOME directory, cd to submitted directory cd "$PBS_O_WORKDIR" ############################################################ NCPU=$(wc -l < $PBS_NODEFILE) awk "NR % 4 == 0" $PBS_NODEFILE | head -n 40 > nodelist.txt echo ------------------JOB SUMMARY-------------------------- echo 'PBS OUT: Job allocated on: '${NCPU}' cpu(s)' echo 'PBS OUT: Job running on the following node(s): ' cat nodelist.txt echo ------------------------------------------------------- echo PBS OUT: Job running on: $PBS_O_HOST echo PBS OUT: Originating queue: $PBS_O_QUEUE echo PBS OUT: Executing queue: $PBS_QUEUE echo PBS OUT: Work directory: $PBS_O_WORKDIR echo PBS OUT: Execution mode: $PBS_ENVIRONMENT echo PBS OUT: Job identifier: $PBS_JOBID echo PBS OUT: Job name: $PBS_JOBNAME echo PBS OUT: Node file: $PBS_NODEFILE echo PBS OUT: Current home directory: $PBS_O_HOME echo PBS OUT: PATH= $PBS_O_PATH echo ------------------------------------------------------- export OMP_NUM_THREADS=1 export OMP_STACKSIZE=128M ulimit -s unlimited module load python/2.7-anaconda50 python vertical_interpolation_camelot.py >> vertical_interpolation.log #mpirun -np 40 -cpus-per-proc $OMP_NUM_THREADS -bycore -bind-to-core -report-bindings ./gcm.exe >> gcm.log #gdb ./gcm.exe >> gcm.log