1 |
#!/bin/bash |
2 |
# |
3 |
#PBS -q four-twelve |
4 |
#PBS -N tst_tuv |
5 |
#PBS -l nodes=1:ppn=2 |
6 |
#PBS -e /home/jmc/test_ACES/output/tst_tuv.stderr |
7 |
#PBS -o /home/jmc/test_ACES/output/tst_tuv.stdout |
8 |
|
9 |
# $Header: $ |
10 |
# $Name: $ |
11 |
|
12 |
if test -f /etc/profile.d/modules.sh ; then |
13 |
. /etc/profile.d/modules.sh |
14 |
fi |
15 |
module add open64 |
16 |
export GSL_IEEE_MODE=double-precision,mask-underflow,mask-denormalized |
17 |
|
18 |
umask 0022 |
19 |
TST_DIR="/home/jmc/test_ACES/gcm_tests" |
20 |
HERE='/home/jmc/test_ACES/output' |
21 |
cd $HERE |
22 |
|
23 |
MC=10 |
24 |
FC=open64 |
25 |
|
26 |
# cat << EOF > $HERE"/.cvspass" |
27 |
# /1 :pserver:cvsanon@mitgcm.org:2401/u/gcmpack Ah<Zy=0= |
28 |
# EOF |
29 |
tmpDIR=${TST_DIR}"/tmp_tuv" |
30 |
if test -e $tmpDIR ; then |
31 |
rm -rf $tmpDIR |
32 |
fi |
33 |
mkdir $tmpDIR |
34 |
cd $tmpDIR |
35 |
cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -P MITgcm > /dev/null 2>&1 |
36 |
# cvs co MITgcm |
37 |
/usr/bin/find $tmpDIR -type d | xargs chmod g+rxs |
38 |
/usr/bin/find $tmpDIR -type f | xargs chmod g+r |
39 |
|
40 |
cd MITgcm/verification |
41 |
OPTFILE="../tools/build_options/linux_ia32_"$FC".trapuv" |
42 |
echo ./testreport -j 2 -gsl -match $MC -of $OPTFILE -odir aces-tuv |
43 |
./testreport -j 2 -gsl -match $MC -of $OPTFILE -odir aces-tuv |