/[MITgcm]/MITgcm/tools/example_scripts/ACESgrid/aces_test_op64_tuv
ViewVC logotype

Contents of /MITgcm/tools/example_scripts/ACESgrid/aces_test_op64_tuv

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Thu May 22 22:32:48 2008 UTC (16 years ago) by jmc
Branch: MAIN
CVS Tags: checkpoint60, checkpoint61, checkpoint59r, checkpoint61b, checkpoint61a
Changes since 1.2: +20 -7 lines
easier to modify to run a 2nd time without checking out the full code

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: /u/gcmpack/MITgcm/tools/example_scripts/ACESgrid/aces_test_op64_tuv,v 1.2 2008/01/25 15:17:20 jmc Exp $
10 # $Name: $
11
12 umask 0022
13 TST_DIR="/home/jmc/test_ACES/gcm_tests"
14 HERE='/home/jmc/test_ACES/output'
15 cd $HERE
16
17 if test -f /etc/profile.d/modules.sh ; then
18 . /etc/profile.d/modules.sh
19 fi
20
21 sfx='tuv'
22 module add open64
23 OPTFILE="../tools/build_options/linux_ia32_open64.trapuv"
24 options='-j 2 -gsl -match 10'
25 export GSL_IEEE_MODE=double-precision,mask-underflow,mask-denormalized
26
27 checkOut=1
28 #options="$options -nc" ; checkOut=0
29 #options="$options -q" ; checkOut=0
30
31 # cat << EOF > $HERE"/.cvspass"
32 # /1 :pserver:cvsanon@mitgcm.org:2401/u/gcmpack Ah<Zy=0=
33 # EOF
34 gcmDIR="MITgcm_$sfx"
35 cd $TST_DIR
36 if test $checkOut = '1' ; then
37 if test -e $gcmDIR ; then
38 rm -rf $gcmDIR
39 fi
40 cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -P -d $gcmDIR MITgcm > /dev/null 2>&1
41 # cvs co MITgcm
42 /usr/bin/find $gcmDIR -type d | xargs chmod g+rxs
43 /usr/bin/find $gcmDIR -type f | xargs chmod g+r
44 else
45 if test -e $gcmDIR/verification ; then
46 echo "dir $gcmDIR exist"
47 else
48 echo "no dir $gcmDIR/verification => exit"
49 exit
50 fi
51 fi
52
53 cd $gcmDIR/verification
54 echo ./testreport $options -of $OPTFILE -odir aces-$sfx
55 ./testreport $options -of $OPTFILE -odir aces-$sfx

  ViewVC Help
Powered by ViewVC 1.1.22