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

Diff of /MITgcm/tools/example_scripts/csail/test_dickens

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

revision 1.12 by jmc, Thu May 6 14:02:35 2010 UTC revision 1.13 by jmc, Tue May 18 19:50:29 2010 UTC
# Line 123  do Line 123  do
123    
124    echo "Running testreport using:"    echo "Running testreport using:"
125    comm="./testreport -a jmc@mitgcm.org"    comm="./testreport -a jmc@mitgcm.org"
126    # comm="$comm -match $MC"
127    if test "x$OPTFILE" != x ; then    if test "x$OPTFILE" != x ; then
128      comm="$comm -of=$OPTFILE"      comm="$comm -of=$OPTFILE"
129    fi    fi
# Line 132  do Line 133  do
133    $comm > $tdir/output_$typ 2>&1    $comm > $tdir/output_$typ 2>&1
134    tail -100 $tdir/output_$typ    tail -100 $tdir/output_$typ
135    echo    echo
 #-- also test restart (test 2+2=4)  
   if test $tt != $typ  
   then  
    echo "testing restart using:"  
    comm="../tools/do_tst_2+2 -a jmc@mitgcm.org"  
    echo "  \"$comm\""  
    echo "======================"  
    $comm > $tdir/output_2+2 2>&1  
   #tail -100 $tdir/output_2+2  
    echo ; cat tst_2+2_out.txt  
    echo  
   fi  
136    
137   fi   fi
138    
# Line 151  do Line 140  do
140   then   then
141    
142    echo "Running testreport using:"    echo "Running testreport using:"
143    comm="./testreport -match $MC -a jmc@mitgcm.org"    comm="./testreport -a jmc@mitgcm.org"
144      comm="$comm -match $MC"
145    if test "x$OPTFILE" != x ; then    if test "x$OPTFILE" != x ; then
146      comm="$comm -of=$OPTFILE"      comm="$comm -of=$OPTFILE"
147    fi    fi
# Line 161  do Line 151  do
151    $comm > $tdir/output_$typ 2>&1    $comm > $tdir/output_$typ 2>&1
152    tail -100 $tdir/output_$typ    tail -100 $tdir/output_$typ
153    echo    echo
 #-- also test restart (test 2+2=4)  
   if test $tt != $typ  
   then  
    echo "testing restart using:"  
    comm="../tools/do_tst_2+2 -a jmc@mitgcm.org"  
    echo "  \"$comm\""  
    echo "======================"  
    $comm > $tdir/output_2+2 2>&1  
   #tail -100 $tdir/output_2+2  
    echo ; cat tst_2+2_out.txt  
    echo  
   fi  
154    
155   fi   fi
156    
# Line 180  do Line 158  do
158   then   then
159    
160    echo "Running testreport using:"    echo "Running testreport using:"
161    comm="./testreport -adm -match $MC -a jmc@mitgcm.org"    comm="./testreport -adm -a jmc@mitgcm.org"
162      comm="$comm -match $MC"
163    if test "x$OPTFILE" != x ; then    if test "x$OPTFILE" != x ; then
164      comm="$comm -of=$OPTFILE"      comm="$comm -of=$OPTFILE"
165    fi    fi
# Line 197  do Line 176  do
176   then   then
177    
178    echo "Running testreport using:"    echo "Running testreport using:"
179    comm="./testreport -match $MC -a jmc@mitgcm.org"    comm="./testreport -a jmc@mitgcm.org"
180      comm="$comm -match $MC"
181    if test "x$OPTFILE" != x ; then    if test "x$OPTFILE" != x ; then
182      comm="$comm -of=$OPTFILE"      comm="$comm -of=$OPTFILE"
183    fi    fi
# Line 207  do Line 187  do
187    $comm > $tdir/output_$typ 2>&1    $comm > $tdir/output_$typ 2>&1
188    tail -100 $tdir/output_$typ    tail -100 $tdir/output_$typ
189    echo    echo
 #-- also test restart (test 2+2=4)  
   if test $tt != $typ  
   then  
    echo "testing restart using:"  
    comm="../tools/do_tst_2+2 -a jmc@mitgcm.org"  
    echo "  \"$comm\""  
    echo "======================"  
    $comm > $tdir/output_2+2 2>&1  
   #tail -100 $tdir/output_2+2  
    echo ; cat tst_2+2_out.txt  
    echo  
   fi  
190    
191   fi   fi
192    
# Line 227  do Line 195  do
195    
196    export OMP_NUM_THREADS=2    export OMP_NUM_THREADS=2
197    echo "Running testreport using:"    echo "Running testreport using:"
198    comm="./testreport -mth -match $MC -a jmc@mitgcm.org"    comm="./testreport -mth -a jmc@mitgcm.org"
199      comm="$comm -match $MC"
200    if test "x$OPTFILE" != x ; then    if test "x$OPTFILE" != x ; then
201      comm="$comm -of=$OPTFILE"      comm="$comm -of=$OPTFILE"
202    fi    fi
# Line 237  do Line 206  do
206    $comm > $tdir/output_$typ 2>&1    $comm > $tdir/output_$typ 2>&1
207    tail -100 $tdir/output_$typ    tail -100 $tdir/output_$typ
208    echo    echo
 #-- also test restart (test 2+2=4)  
   if test $tt != $typ  
   then  
    echo "testing restart using:"  
    comm="../tools/do_tst_2+2 -a jmc@mitgcm.org"  
    echo "  \"$comm\""  
    echo "======================"  
    $comm > $tdir/output_2+2 2>&1  
   #tail -100 $tdir/output_2+2  
    echo ; cat tst_2+2_out.txt  
    echo  
   fi  
   export OMP_NUM_THREADS=1  
209    
210   fi   fi
211    
# Line 258  do Line 214  do
214    
215    export PGI=/usr/local/pkg/pgi/pgi-6.1-5    export PGI=/usr/local/pkg/pgi/pgi-6.1-5
216    echo "Running testreport using:"    echo "Running testreport using:"
217    comm="./testreport -match $MC -dd"    comm="./testreport -dd"
218      comm="$comm -match $MC"
219    #comm="$comm -skd tutorial_advection_in_gyre"    #comm="$comm -skd tutorial_advection_in_gyre"
220    if test "x$OPTFILE" != x ; then    if test "x$OPTFILE" != x ; then
221      comm="$comm -of=$OPTFILE"      comm="$comm -of=$OPTFILE"
# Line 270  do Line 227  do
227    tail -100 $tdir/output_${typ}_1    tail -100 $tdir/output_${typ}_1
228    echo    echo
229    echo "Running testreport using:"    echo "Running testreport using:"
230    comm="./testreport -match $MC -q -a jmc@mitgcm.org"    comm="./testreport -q -a jmc@mitgcm.org"
231      comm="$comm -match $MC"
232    #comm="$comm -skd tutorial_advection_in_gyre"    #comm="$comm -skd tutorial_advection_in_gyre"
233    if test "x$OPTFILE" != x ; then    if test "x$OPTFILE" != x ; then
234      comm="$comm -of=$OPTFILE"      comm="$comm -of=$OPTFILE"
# Line 280  do Line 238  do
238    $comm > $tdir/output_${typ}_2 2>&1    $comm > $tdir/output_${typ}_2 2>&1
239    tail -100 $tdir/output_${typ}_2    tail -100 $tdir/output_${typ}_2
240    echo    echo
241    
242     fi
243    
244  #-- also test restart (test 2+2=4)  #-- also test restart (test 2+2=4)
245    if test $tt != $typ   if test $tt != $typ
246    then   then
247     echo "testing restart using:"     echo "testing restart using:"
248     comm="../tools/do_tst_2+2 -a jmc@mitgcm.org"     comm="../tools/do_tst_2+2 -a jmc@mitgcm.org"
249     echo "  \"$comm\""     echo "  \"$comm\""
# Line 291  do Line 252  do
252    #tail -100 $tdir/output_2+2    #tail -100 $tdir/output_2+2
253     echo ; cat tst_2+2_out.txt     echo ; cat tst_2+2_out.txt
254     echo     echo
   fi  
   
255   fi   fi
256     export OMP_NUM_THREADS=1
257    
258   if test $sepDir = 0 ; then   if test $sepDir = 0 ; then
259  #-- cleaning:  #-- cleaning:

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.22