#!/bin/bash #set -x ######################################################################## # Grid Engine Job Wrapper ######################################################################## #$ -N JOB_NAME #$ -pe mpi2 8-16 #$ -q wp08m2 #$ -j y #$ -M YOUR_E_MAIL@physics.rutgers.edu #$ -m e #$ -v LD_LIBRARY_PATH,OMP_NUM_THREADS ######################################################################## # DON'T remove the following line! source $TMPDIR/sge_init.sh ######################################################################## source ~/.bashrc export OMP_NUM_THREADS=1 export SMPD_OPTION_NO_DYNAMIC_HOSTS=1 export LD_LIBRARY_PATH=/opt/intel/mkl/lib/intel64/:/opt/intel/lib/intel64/:/opt/intel/composer_xe_2013_sp1.3.174/compiler/lib/intel64/ /opt/mpich2/intel/14.0/bin/mpiexec -n $NSLOTS -machinefile $TMPDIR/machines -port $port \ -envlist LD_LIBRARY_PATH,OMP_NUM_THREADS \ ./YOUR_EXECUBALE >& log