/[MITgcm]/MITgcm/verification/testreport
ViewVC logotype

Diff of /MITgcm/verification/testreport

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

revision 1.40 by edhill, Tue Jul 6 19:53:34 2004 UTC revision 1.42 by jmc, Thu Jul 8 15:47:19 2004 UTC
# Line 13  usage() Line 13  usage()
13      echo "  (-help|-h)               print usage"      echo "  (-help|-h)               print usage"
14      echo "  (-mpi)                   use MPI input files"      echo "  (-mpi)                   use MPI input files"
15      echo "  (-ieee|-noieee)          if possible, use IEEE compiler flags"      echo "  (-ieee|-noieee)          if possible, use IEEE compiler flags"
16      echo "                             (DEF=\"noieee\")"      echo "                             (DEF=\"-ieee\")"
17      echo "  (-optfile=|-of=)STRING   list of optfiles to use"      echo "  (-optfile=|-of=)STRING   list of optfiles to use"
18      echo "  (-a|-addr) STRING        list of email recipients"      echo "  (-a|-addr) STRING        list of email recipients"
19      echo "                             (DEF=\"edhill@mitgcm.org\")"      echo "                             (DEF=\"edhill@mitgcm.org\")"
# Line 868  for dir in $TESTDIRS ; do Line 868  for dir in $TESTDIRS ; do
868          OLD_COMMAND=$COMMAND          OLD_COMMAND=$COMMAND
869          COMMAND="./mitgcmuv > output.txt"          COMMAND="./mitgcmuv > output.txt"
870          for ex in $extra_runs ; do          for ex in $extra_runs ; do
871              test -e "$dir/tr_run" && rm -rf "$dir/tr_run"              test -e "$dir/tr_run.$ex" && rm -rf "$dir/tr_run.$ex"
872              mkdir "$dir/tr_run"              mkdir "$dir/tr_run.$ex"
873              links=`( cd "$dir/input" > /dev/null 2>&1 ; ls -1 | grep -v CVS )`              links=`( cd "$dir/input" > /dev/null 2>&1 ; ls -1 | grep -v CVS )`
874              (              (
875                  cd "$dir/tr_run"                  cd "$dir/tr_run.$ex"
876                  for i in $links; do                  for i in $links; do
877                      ln -s ../input/$i $i                      ln -s ../input/$i $i
878                  done                  done
879              )              )
880              links=`( cd "$dir/input.$ex" > /dev/null 2>&1 ; ls -1 | grep -v CVS )`              links=`( cd "$dir/input.$ex" > /dev/null 2>&1 ; ls -1 | grep -v CVS )`
881              (              (
882                  cd "$dir/tr_run"                  cd "$dir/tr_run.$ex"
883                  for i in $links; do                  for i in $links; do
884                      test -e $i  &&  rm -f $i                      test -e $i  &&  rm -f $i
885                      ln -s ../input.$ex/$i $i                      ln -s ../input.$ex/$i $i
886                  done                  done
887                  ln -s ../$builddir/mitgcmuv mitgcmuv                  ln -s ../$builddir/mitgcmuv mitgcmuv
888              )              )
889              runmodel $dir/tr_run && run=Y \              runmodel $dir/tr_run.$ex && run=Y \
890                  && results=`testoutput $dir tr_run "."$ex`                  && results=`testoutput $dir tr_run.$ex "."$ex`
891              fres=`printf '%s %s %s %s' ${genmake:-N} ${makedepend:-N} ${make:-N} ${run:-N}`              fres=`printf '%s %s %s %s' ${genmake:-N} ${makedepend:-N} ${make:-N} ${run:-N}`
892              fres=`formatresults $dir ${genmake:-N} ${makedepend:-N} ${make:-N} ${run:-N} $results`              fres=`formatresults $dir ${genmake:-N} ${makedepend:-N} ${make:-N} ${run:-N} $results`
893              fres="$fres.$ex"              fres="$fres.$ex"

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.42

  ViewVC Help
Powered by ViewVC 1.1.22