/[MITgcm]/mitgcm.org/front_content/make_summary
ViewVC logotype

Diff of /mitgcm.org/front_content/make_summary

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

revision 1.31 by jmc, Mon Sep 17 16:01:33 2007 UTC revision 1.32 by jmc, Tue Dec 25 17:38:26 2007 UTC
# Line 229  for mname in $MACHINES ; do Line 229  for mname in $MACHINES ; do
229          fi          fi
230    
231          ADJOINT=          ADJOINT=
232            RESTART=0
233          if test -r $dir/summary.txt ; then          if test -r $dir/summary.txt ; then
234              comm=`grep 'ADJOINT=true' $dir/summary.txt 2>/dev/null`              comm=`grep 'ADJOINT=true' $dir/summary.txt 2>/dev/null`
235              eval $comm              eval $comm
236                RESTART=`grep -c 'test 2+2=4 summary' $dir/summary.txt`
237          fi          fi
238          if test "x$ADJOINT" = x ; then          if test "x$RESTART" = x0 ; then
239              kind="forward"              kind="forward"
         else  
240              test "x$ADJOINT" = xtrue  &&  kind="adjoint"              test "x$ADJOINT" = xtrue  &&  kind="adjoint"
241            else
242                kind="restart"
243          fi          fi
244    
245          t_pass="--"          t_pass="--"

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

  ViewVC Help
Powered by ViewVC 1.1.22