#!/bin/bash # #PBS -q long #PBS -N eh3_mth #PBS -l nodes=1:ppn=2 #PBS -e /home/edhill/test_outp/eh3_mth.stderr #PBS -o /home/edhill/test_outp/eh3_mth.stdout # #PBS -V # ^- commented out => do not export env. variable ! # since head node environment (& module) is too different from computer node if test -f /etc/profile.d/modules.sh ; then . /etc/profile.d/modules.sh fi module add ifc/9.0.021 icc/9.0.021 intel/9.0 export OMP_NUM_THREADS=2 export KMP_STACKSIZE=400m HERE='/home/edhill/test_outp' cd $HERE FC=ifort # cat << EOF > $HERE"/.cvspass" # /1 :pserver:cvsanon@mitgcm.org:2401/u/gcmpack Ah /dev/null 2>&1 # cvs co MITgcm /usr/bin/find $TDIR -type d | xargs chmod g+rxs /usr/bin/find $TDIR -type f | xargs chmod g+r cd MITgcm/verification OPTFILE="../tools/build_options/linux_ia32_"$FC".aces+mth" # ./testreport -j 2 -mth -of $OPTFILE -command "$EXE" -a 'edhill@mitgcm.org' echo ./testreport -j 2 -mth -of $OPTFILE ./testreport -j 2 -mth -of $OPTFILE