#!/bin/bash # #PBS -q long #PBS -N eh3_ifort #PBS -l nodes=2:ppn=2 #PBS -e /home/edhill/test_outp/eh3_intel.stderr #PBS -o /home/edhill/test_outp/eh3_intel.stdout #PBS -V if test -f /etc/profile.d/modules.sh ; then . /etc/profile.d/modules.sh fi module add mpich/intel HERE='/home/edhill/test_outp' cd $HERE FC=ifort MF=$HERE"/mf_"$FC cat $PBS_NODEFILE | sort | uniq > $MF NCPU=`wc -l $MF | awk '{print $1}'` EXE="mpirun -machinefile $MF -v -np $NCPU ./mitgcmuv" # 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"+mpi_aces" # ./testreport -j 2 -mpi -of $OPTFILE -command "$EXE" -a 'edhill@mitgcm.org' echo ./testreport -j 2 -mpi -of $OPTFILE -command "$EXE" ./testreport -j 2 -mpi -of $OPTFILE -command "$EXE"