/[MITgcm]/MITgcm/tools/example_scripts/csail/test_baudelaire
ViewVC logotype

Diff of /MITgcm/tools/example_scripts/csail/test_baudelaire

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

revision 1.2 by jmc, Tue Nov 2 13:44:39 2010 UTC revision 1.3 by jmc, Wed Nov 3 19:44:49 2010 UTC
# Line 24  cmdCVS='cvs -d :pserver:cvsanon@mitgcm.o Line 24  cmdCVS='cvs -d :pserver:cvsanon@mitgcm.o
24  cmdCVS='cvs -d /u/gcmpack'  cmdCVS='cvs -d /u/gcmpack'
25    
26  TESTDIR="/scratch/jmc/test_"`hostname -s`  TESTDIR="/scratch/jmc/test_"`hostname -s`
27  MC=10  MC=13
28  checkOut=1  checkOut=1
29  sepDir=1  sepDir=1
30  option=  option=
# Line 135  do Line 135  do
135    
136    echo "Running testreport using:"    echo "Running testreport using:"
137    comm="./testreport -a jmc@mitgcm.org"    comm="./testreport -a jmc@mitgcm.org"
138    comm="$comm -match $MC"  # comm="$comm -match $MC"
139    if test "x$OPTFILE" != x ; then    if test "x$OPTFILE" != x ; then
140      comm="$comm -of=$OPTFILE"      comm="$comm -of=$OPTFILE"
141    fi    fi
# Line 153  do Line 153  do
153    
154    echo "Running testreport using:"    echo "Running testreport using:"
155    comm="./testreport -a jmc@mitgcm.org"    comm="./testreport -a jmc@mitgcm.org"
156  # comm="$comm -match $MC"    comm="$comm -match $MC"
157    if test "x$OPTFILE" != x ; then    if test "x$OPTFILE" != x ; then
158      comm="$comm -of=$OPTFILE"      comm="$comm -of=$OPTFILE"
159    fi    fi
# Line 171  do Line 171  do
171    
172    echo "Running testreport using:"    echo "Running testreport using:"
173    comm="./testreport -adm -a jmc@mitgcm.org"    comm="./testreport -adm -a jmc@mitgcm.org"
174    comm="$comm -match $MC"  # comm="$comm -match $MC"
175    if test "x$OPTFILE" != x ; then    if test "x$OPTFILE" != x ; then
176      comm="$comm -of=$OPTFILE"      comm="$comm -of=$OPTFILE"
177    fi    fi
# Line 189  do Line 189  do
189    
190    echo "Running testreport using:"    echo "Running testreport using:"
191    comm="./testreport -adm -a jmc@mitgcm.org"    comm="./testreport -adm -a jmc@mitgcm.org"
192  # comm="$comm -match $MC"    comm="$comm -match $MC"
193    if test "x$OPTFILE" != x ; then    if test "x$OPTFILE" != x ; then
194      comm="$comm -of=$OPTFILE"      comm="$comm -of=$OPTFILE"
195    fi    fi
# Line 208  do Line 208  do
208    source /srv/software/intel/intel-11.1.073/bin/ifortvars.sh intel64    source /srv/software/intel/intel-11.1.073/bin/ifortvars.sh intel64
209    echo "Running testreport using:"    echo "Running testreport using:"
210    comm="./testreport -a jmc@mitgcm.org"    comm="./testreport -a jmc@mitgcm.org"
211    comm="$comm -match $MC"  # comm="$comm -match $MC"
212    if test "x$OPTFILE" != x ; then    if test "x$OPTFILE" != x ; then
213      comm="$comm -of=$OPTFILE"      comm="$comm -of=$OPTFILE"
214    fi    fi
# Line 227  do Line 227  do
227    export OMP_NUM_THREADS=2    export OMP_NUM_THREADS=2
228    echo "Running testreport using:"    echo "Running testreport using:"
229    comm="./testreport -mth -a jmc@mitgcm.org"    comm="./testreport -mth -a jmc@mitgcm.org"
230  # comm="$comm -match $MC"    comm="$comm -match $MC"
231    if test "x$OPTFILE" != x ; then    if test "x$OPTFILE" != x ; then
232      comm="$comm -of=$OPTFILE"      comm="$comm -of=$OPTFILE"
233    fi    fi
# Line 247  do Line 247  do
247    export PATH=$PGI/linux86-64/10.9/bin:$PATH    export PATH=$PGI/linux86-64/10.9/bin:$PATH
248    export LM_LICENSE_FILE=$PGI/license.dat    export LM_LICENSE_FILE=$PGI/license.dat
249    echo "Running testreport using:"    echo "Running testreport using:"
250    comm="./testreport -dd"    comm="./testreport -a jmc@mitgcm.org"
251    comm="$comm -match $MC"  # comm="$comm -match $MC"
252    #comm="$comm -skd tutorial_advection_in_gyre"    #comm="$comm -skd tutorial_advection_in_gyre"
253    if test "x$OPTFILE" != x ; then    if test "x$OPTFILE" != x ; then
254      comm="$comm -of=$OPTFILE"      comm="$comm -of=$OPTFILE"
# Line 256  do Line 256  do
256    if test "x$option" != x ; then comm="$comm $option" ; fi    if test "x$option" != x ; then comm="$comm $option" ; fi
257    echo "  \"$comm\""    echo "  \"$comm\""
258    echo "======================"    echo "======================"
259    $comm > $tdir/output_${typ}_1 2>&1    $comm > $tdir/output_${typ} 2>&1
260    tail -100 $tdir/output_${typ}_1    tail -100 $tdir/output_${typ}
   echo  
   echo "Running testreport using:"  
   comm="./testreport -q -a jmc@mitgcm.org"  
   comm="$comm -match $MC"  
   #comm="$comm -skd tutorial_advection_in_gyre"  
   if test "x$OPTFILE" != x ; then  
     comm="$comm -of=$OPTFILE"  
   fi  
   echo "  \"$comm\""  
   echo "======================"  
   $comm > $tdir/output_${typ}_2 2>&1  
   tail -100 $tdir/output_${typ}_2  
261    echo    echo
262    
263   fi   fi

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

  ViewVC Help
Powered by ViewVC 1.1.22