/[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.164 by jmc, Mon Jun 27 18:45:16 2011 UTC revision 1.165 by jmc, Wed Aug 3 18:34:31 2011 UTC
# Line 48  usage() Line 48  usage()
48      echo "  (-match) NUMBER          Matching Criteria (number of digits)"      echo "  (-match) NUMBER          Matching Criteria (number of digits)"
49      echo "                             (DEF=\"$MATCH_CRIT\")"      echo "                             (DEF=\"$MATCH_CRIT\")"
50      echo "  (-j) JOBS                use \"make -j JOBS\" for parallel builds"      echo "  (-j) JOBS                use \"make -j JOBS\" for parallel builds"
51        echo "  (-ef) STRING             used as genmake2 \"-extra_flag\" argument"
52      echo "  (-clean)                 *ONLY* run \"make CLEAN\" & clean run-dir"      echo "  (-clean)                 *ONLY* run \"make CLEAN\" & clean run-dir"
53      echo "  (-norun|-nr)             skip the \"runmodel\" stage (stop after make)"      echo "  (-norun|-nr)             skip the \"runmodel\" stage (stop after make)"
54        echo "  (-obj)                   only produces objects (=norun & no executable)"
55      echo "  (-runonly|-ro)           *ONLY* run stage (=\"-quick\" without make)"      echo "  (-runonly|-ro)           *ONLY* run stage (=\"-quick\" without make)"
56      echo "  (-quick|-q)              same as \"-nogenmake -noclean -nodepend\""      echo "  (-quick|-q)              same as \"-nogenmake -noclean -nodepend\""
57      echo "  (-nogenmake|-ng)         skip the genmake stage"      echo "  (-nogenmake|-ng)         skip the genmake stage"
# Line 358  genmakemodel() Line 360  genmakemodel()
360              if test "x$USE_R4" = xt ; then              if test "x$USE_R4" = xt ; then
361                  command="$command -use_r4"                  command="$command -use_r4"
362              fi              fi
363                if test "x$EXTRFLG" != x ; then
364                    command="$command -extra_flag $EXTRFLG"
365                fi
366              if test "x$TS" = xt ; then              if test "x$TS" = xt ; then
367                  command="$command -ts"                  command="$command -ts"
368              fi              fi
# Line 484  makemodel() Line 489  makemodel()
489                  $MAKE adAll >> make.tr_log 2>&1                  $MAKE adAll >> make.tr_log 2>&1
490              else              else
491                  if test "x$JOBS" = x ; then                  if test "x$JOBS" = x ; then
492                      $MAKE >> make.tr_log 2>&1                      $MAKE $TARG >> make.tr_log 2>&1
493                  else                  else
494                      $MAKE -j $JOBS >> make.tr_log 2>&1                      $MAKE -j $JOBS $TARG >> make.tr_log 2>&1
495                  fi                  fi
496              fi              fi
497              RETVAL=$?              RETVAL=$?
# Line 955  if test "x$CC" = x ; then Line 960  if test "x$CC" = x ; then
960      CC=cc      CC=cc
961  fi  fi
962  JOBS=  JOBS=
963    TARG=
964  MPI=0  MPI=0
965  MPI_MFILE=  MPI_MFILE=
966  MULTI_THREAD=f  MULTI_THREAD=f
967  OUTDIR=  OUTDIR=
968  DELDIR=  DELDIR=
969  USE_R4=  USE_R4=
970    EXTRFLG=
971    
972  ADM=  ADM=
973  OADM=  OADM=
# Line 1025  for ac_option ; do Line 1032  for ac_option ; do
1032          -j | --j) ac_prev=JOBS ;;          -j | --j) ac_prev=JOBS ;;
1033          -j=* | --j=*) JOBS=$ac_optarg ;;          -j=* | --j=*) JOBS=$ac_optarg ;;
1034    
1035            -ef | --ef) ac_prev=EXTRFLG ;;
1036            -ef=* | --ef=*) EXTRFLG=$ac_optarg ;;
1037    
1038          -clean | --clean) CLEANUP=t ; DELDIR=t ;;          -clean | --clean) CLEANUP=t ; DELDIR=t ;;
1039    
1040          -norun | --norun | -nr | --nr) NORUN=t ;;          -norun | --norun | -nr | --nr) NORUN=t ;;
1041            -obj | --obj ) TARG='obj' ; NORUN=t ;;
1042          -runonly | --runonly | -ro | --ro) QUICK=t ; NOMAKE=t ;;          -runonly | --runonly | -ro | --ro) QUICK=t ; NOMAKE=t ;;
1043          -quick | --quick | -q | --q) QUICK=t ;;          -quick | --quick | -q | --q) QUICK=t ;;
1044          -nogenmake | --nogenmake | -ng | --ng) NOGENMAKE=t ;;          -nogenmake | --nogenmake | -ng | --ng) NOGENMAKE=t ;;

Legend:
Removed from v.1.164  
changed lines
  Added in v.1.165

  ViewVC Help
Powered by ViewVC 1.1.22