#!/bin/bash # #PBS -q four-twelve #PBS -N tst_tuv #PBS -l nodes=1:ppn=2 #PBS -e /home/jmc/test_ACES/output/tst_tuv.stderr #PBS -o /home/jmc/test_ACES/output/tst_tuv.stdout # $Header: /home/ubuntu/mnt/e9_copy/MITgcm/tools/example_scripts/ACESgrid/Attic/aces_test_op64_tuv,v 1.3 2008/05/22 22:32:48 jmc Exp $ # $Name: $ umask 0022 TST_DIR="/home/jmc/test_ACES/gcm_tests" HERE='/home/jmc/test_ACES/output' cd $HERE if test -f /etc/profile.d/modules.sh ; then . /etc/profile.d/modules.sh fi sfx='tuv' module add open64 OPTFILE="../tools/build_options/linux_ia32_open64.trapuv" options='-j 2 -gsl -match 10' export GSL_IEEE_MODE=double-precision,mask-underflow,mask-denormalized checkOut=1 #options="$options -nc" ; checkOut=0 #options="$options -q" ; checkOut=0 # cat << EOF > $HERE"/.cvspass" # /1 :pserver:cvsanon@mitgcm.org:2401/u/gcmpack Ah /dev/null 2>&1 # cvs co MITgcm /usr/bin/find $gcmDIR -type d | xargs chmod g+rxs /usr/bin/find $gcmDIR -type f | xargs chmod g+r else if test -e $gcmDIR/verification ; then echo "dir $gcmDIR exist" else echo "no dir $gcmDIR/verification => exit" exit fi fi cd $gcmDIR/verification echo ./testreport $options -of $OPTFILE -odir aces-$sfx ./testreport $options -of $OPTFILE -odir aces-$sfx