/[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.38 by edhill, Fri Mar 12 19:55:47 2004 UTC revision 1.41 by edhill, Tue Jul 6 20:14:32 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 32  usage() Line 32  usage()
32      echo "  (-nogenmake|-ng)         skip the genmake stage"      echo "  (-nogenmake|-ng)         skip the genmake stage"
33      echo "  (-noclean|-nc)           skip the \"make clean\" stage"      echo "  (-noclean|-nc)           skip the \"make clean\" stage"
34      echo "  (-nodepend|-nd)          skip the \"make depend\" stage"      echo "  (-nodepend|-nd)          skip the \"make depend\" stage"
35        echo "  (-deldir|-dd)            on success, delete the output directory"
36      echo      echo
37      echo "and where STRING follows a whitespace-delimited format"      echo "and where STRING follows a whitespace-delimited format"
38      echo "such as:"      echo "such as:"
# Line 414  runmodel() Line 415  runmodel()
415          printf 'runmodel ... ' 1>&2          printf 'runmodel ... ' 1>&2
416          # make output.txt          # make output.txt
417          echo          echo
418          echo "COMMAND='$COMMAND'"          # echo "COMMAND='$COMMAND'"
419          echo "pwd='"`pwd`"'"          # echo "pwd='"`pwd`"'"
420          ( eval $COMMAND ) >> run.log 2>&1          ( eval $COMMAND ) >> run.log 2>&1
421          RETVAL=$?          RETVAL=$?
422          if test "x$RETVAL" = x0 ; then          if test "x$RETVAL" = x0 ; then
# Line 545  clean=0 Line 546  clean=0
546  expts=''  expts=''
547  # ieee=1  # ieee=1
548    
549  IEEE=  IEEE=true
550  if test "x$MITGCM_IEEE" != x ; then  if test "x$MITGCM_IEEE" != x ; then
551      IEEE=$MITGCM_IEEE      IEEE=$MITGCM_IEEE
552  fi  fi
# Line 567  MPACK="$MPACKDIR/mpack" Line 568  MPACK="$MPACKDIR/mpack"
568  COMMAND=  COMMAND=
569  MAKE=make  MAKE=make
570  MPI=f  MPI=f
571    DELDIR=
572    
573  ADM=  ADM=
574    
# Line 642  for ac_option ; do Line 644  for ac_option ; do
644          -debug) debug=1 ;;          -debug) debug=1 ;;
645          -quiet) verbose=0 ;;          -quiet) verbose=0 ;;
646    
647            -deldir | -dd) DELDIR=t ;;
648    
649          -*)          -*)
650              echo "Error: unrecognized option: "$ac_option              echo "Error: unrecognized option: "$ac_option
651              usage              usage
# Line 955  if test "x$CLEANUP" != xt ; then Line 959  if test "x$CLEANUP" != xt ; then
959      cat $SUMMARY > tr_out.txt      cat $SUMMARY > tr_out.txt
960  fi  fi
961    
962    if test "x$DELDIR" = xt ; then
963        rm -rf $DRESULTS
964    fi
965    

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.41

  ViewVC Help
Powered by ViewVC 1.1.22