#!/bin/bash #PBS -N nemoDbg #PBS -l mppwidth=4 #PBS -l mppnppn=4 #PBS -l walltime=00:20:00 #PBS -j oe #PBS -A c01-hec #PBS -m n #PBS -v DISPLAY . ${MODULESHOME}/init/bash module rm xtpe-interlagos module add xtpe-mc12 export TMPDIR=/work/c01/c01/arp28/tmp cd $PBS_O_WORKDIR #export NPROC=`qstat -f $PBS_JOBID | awk '/mppwidth/ {print $3}'` #export NTASK=`qstat -f $PBS_JOBID | awk '/mppnppn/ {print $3}'` # Instruct os to not use any 'non' heap memory-mapping regions - eliminates # system calls to mmap. export MALLOC_MMAP_MAX_=0 ulimit -c unlimited ulimit -a pwd date ulimit -s unlimited rm GYRE_*.nc totalview aprun -a -b -a xt -n 4 -N 4 ./nemo.cray.exe date rm GYRE_*.nc