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

Diff of /MITgcm/tools/example_scripts/ACESgrid/aces_test_op64_tuv

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

revision 1.1 by jmc, Fri Dec 14 19:30:35 2007 UTC revision 1.2 by jmc, Fri Jan 25 15:17:20 2008 UTC
# Line 9  Line 9 
9  # $Header$  # $Header$
10  # $Name$  # $Name$
11    
 if test -f /etc/profile.d/modules.sh ; then  
     . /etc/profile.d/modules.sh  
 fi  
 module add open64  
 export GSL_IEEE_MODE=double-precision,mask-underflow,mask-denormalized  
   
12  umask 0022  umask 0022
13  TST_DIR="/home/jmc/test_ACES/gcm_tests"  TST_DIR="/home/jmc/test_ACES/gcm_tests"
14  HERE='/home/jmc/test_ACES/output'  HERE='/home/jmc/test_ACES/output'
15  cd $HERE  cd $HERE
16    
17  MC=10  if test -f /etc/profile.d/modules.sh ; then
18  FC=open64      . /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  # cat << EOF > $HERE"/.cvspass"  # cat << EOF > $HERE"/.cvspass"
28  # /1 :pserver:cvsanon@mitgcm.org:2401/u/gcmpack Ah<Zy=0=  # /1 :pserver:cvsanon@mitgcm.org:2401/u/gcmpack Ah<Zy=0=
29  # EOF  # EOF
30  tmpDIR=${TST_DIR}"/tmp_tuv"  gcmDIR="MITgcm_$sfx"
31  if test -e $tmpDIR ; then  cd $TST_DIR
32      rm -rf $tmpDIR  if test -e $gcmDIR ; then
33        rm -rf $gcmDIR
34  fi  fi
35  mkdir $tmpDIR  cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -P -d $gcmDIR MITgcm > /dev/null 2>&1
 cd $tmpDIR  
 cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -P MITgcm > /dev/null 2>&1  
36  #  cvs co MITgcm  #  cvs co MITgcm
37  /usr/bin/find $tmpDIR -type d | xargs chmod g+rxs  /usr/bin/find $gcmDIR -type d | xargs chmod g+rxs
38  /usr/bin/find $tmpDIR -type f | xargs chmod g+r  /usr/bin/find $gcmDIR -type f | xargs chmod g+r
39    
40  cd MITgcm/verification  cd $gcmDIR/verification
41  OPTFILE="../tools/build_options/linux_ia32_"$FC".trapuv"  echo ./testreport $options -of $OPTFILE -odir aces-$sfx
42  echo ./testreport -j 2 -gsl -match $MC -of $OPTFILE -odir aces-tuv  ./testreport $options -of $OPTFILE -odir aces-$sfx
 ./testreport -j 2 -gsl -match $MC -of $OPTFILE -odir aces-tuv  
43    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.22