/[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.178 by jmc, Sat Aug 18 19:01:54 2012 UTC revision 1.184 by jmc, Thu Jun 13 19:05:32 2013 UTC
# Line 322  testoutput_run() Line 322  testoutput_run()
322          'AthSiG') testoutput_var $1 "thSI_Ice_Area_G" "thSIc Area Global" $2 $refoutp ; yy=$? ;;          'AthSiG') testoutput_var $1 "thSI_Ice_Area_G" "thSIc Area Global" $2 $refoutp ; yy=$? ;;
323          'AthSiS') testoutput_var $1 "thSI_Ice_Area_S" "thSIc Area South"  $2 $refoutp ; yy=$? ;;          'AthSiS') testoutput_var $1 "thSI_Ice_Area_S" "thSIc Area South"  $2 $refoutp ; yy=$? ;;
324          'AthSiN') testoutput_var $1 "thSI_Ice_Area_N" "thSIc Area North"  $2 $refoutp ; yy=$? ;;          'AthSiN') testoutput_var $1 "thSI_Ice_Area_N" "thSIc Area North"  $2 $refoutp ; yy=$? ;;
325          'HthSiG') testoutput_var $1 "thSI_IceH_ave_G" "thSIc H Global"    $2 $refoutp ; yy=$? ;;          'HthSiG') testoutput_var $1 "thSI_IceH_ave_G" "thSIc H Glob-ave"  $2 $refoutp ; yy=$? ;;
326          'HthSiS') testoutput_var $1 "thSI_IceH_ave_S" "thSIc H South"     $2 $refoutp ; yy=$? ;;          'HthSiS') testoutput_var $1 "thSI_IceH_ave_S" "thSIc H South-av"  $2 $refoutp ; yy=$? ;;
327          'HthSiN') testoutput_var $1 "thSI_IceH_ave_N" "thSIc H North"     $2 $refoutp ; yy=$? ;;          'HthSiN') testoutput_var $1 "thSI_IceH_ave_N" "thSIc H North-av"  $2 $refoutp ; yy=$? ;;
328            'HthMxS') testoutput_var $1 "thSI_IceH_max_S" "thSIc H South-max" $2 $refoutp ; yy=$? ;;
329            'HthMxN') testoutput_var $1 "thSI_IceH_max_N" "thSIc H North-max" $2 $refoutp ; yy=$? ;;
330            'StrmIc') testoutput_var $1 "STREAMICE_FP_ERR" "StreamIce Solver" $2 $refoutp ; yy=$? ;;
331                *) yy=99; echo "WARNING: asking for var=$xx : not recognized !" 1>&2 ;;                *) yy=99; echo "WARNING: asking for var=$xx : not recognized !" 1>&2 ;;
332            esac            esac
333            if test $xx = $sVar            if test $xx = $sVar
# Line 1296  fi Line 1299  fi
1299  #  Create a uniquely named directory to store results  #  Create a uniquely named directory to store results
1300  CMDLINE=$0  CMDLINE=$0
1301  for xx in "$@" ; do nw=`echo $xx | wc -w`  for xx in "$@" ; do nw=`echo $xx | wc -w`
1302      if test $nw = '1' ; then CMDLINE="$CMDLINE $xx"      if test $nw = '1' ; then CMDLINE="$CMDLINE $xx" ; else
1303                          else CMDLINE="$CMDLINE '$xx'" ; fi        nb=`echo $xx | grep -c '='`
1304          if test $nb = 0 ; then CMDLINE="$CMDLINE '$xx'"
1305          else yy=`echo "$xx'" | sed "s/=/='/"` ;
1306                                 CMDLINE="$CMDLINE $yy" ; fi
1307        fi
1308  done  done
1309  #for xx in "$@" ; do CMDLINE="$CMDLINE '$xx'" ; done  #for xx in "$@" ; do CMDLINE="$CMDLINE '$xx'" ; done
1310  MACH=`hostname`  MACH=`hostname`
# Line 1344  if test "x$OPTFILE" != xNONE ; then Line 1351  if test "x$OPTFILE" != xNONE ; then
1351          echo >> $SUMMARY          echo >> $SUMMARY
1352          echo "  OPTFILE=$OPTFILE" >> $SUMMARY          echo "  OPTFILE=$OPTFILE" >> $SUMMARY
1353      else      else
1354          echo | tee $SUMMARY          echo | tee -a $SUMMARY
1355          echo "ERROR: can't read OPTFILE=\"$OPTFILE\"" | tee $SUMMARY          echo "ERROR: can't read OPTFILE=\"$OPTFILE\"" | tee -a $SUMMARY
1356          exit 1          exit 1
1357      fi      fi
1358  else  else
# Line 1372  if test $KIND = 0 ; then Line 1379  if test $KIND = 0 ; then
1379  else  else
1380      line_0=`printf '%s %2i' 'default   ' $MATCH_CRIT`      line_0=`printf '%s %2i' 'default   ' $MATCH_CRIT`
1381    if test $KIND = 1 ; then    if test $KIND = 1 ; then
1382      echo "TANGLIN=true" >> $SUMMARY     #echo "TANGLIN=true" >> $SUMMARY
1383        echo "TangLin generated by TAF" >> $SUMMARY
1384      elif test $KIND = 3 ; then
1385        echo "TangLin generated by OpenAD" >> $SUMMARY
1386      elif test $KIND = 2 ; then
1387       #echo "ADJOINT=true" >> $SUMMARY
1388        echo "Adjoint generated by TAF" >> $SUMMARY
1389      else
1390        echo "Adjoint generated by OpenAD" >> $SUMMARY
1391      fi
1392      if test $KIND = 1 -o $KIND = 3 ; then
1393      line_1="G D M    C  T  F"      line_1="G D M    C  T  F"
1394      line_2="e p a R  o  L  D"      line_2="e p a R  o  L  D"
1395    else    else
     echo "ADJOINT=true" >> $SUMMARY  
1396      line_1="G D M    C  A  F"      line_1="G D M    C  A  F"
1397      line_2="e p a R  o  d  D"      line_2="e p a R  o  d  D"
1398    fi    fi
# Line 1500  for dir in $TESTDIRS ; do Line 1516  for dir in $TESTDIRS ; do
1516      #  Check whether there are "extra runs" for this testdir      #  Check whether there are "extra runs" for this testdir
1517      extra_runs=      extra_runs=
1518      if test "x$NORUN" = xf ; then      if test "x$NORUN" = xf ; then
1519          ex_run_dirs=`( cd $dir ; echo $inputdir.* )`          ex_run_dirs=`( cd $dir ; ls -d $inputdir.* 2> /dev/null )`
1520      fi      fi
1521      #echo "ex_run_dirs='$ex_run_dirs'"      #echo "ex_run_dirs='$ex_run_dirs'"
1522      for exd in $ex_run_dirs ; do      for exd in $ex_run_dirs ; do
1523          name=`echo $exd | sed -e "s/$inputdir\.//"`          name=`echo $exd | sed -e "s/$inputdir\.//"`
1524          refExOut=`echo $ref_outp | sed "s/\./.${name}./"`          refExOut=`echo $ref_outp | sed "s/\./.${name}./"`
1525          outf="$dir/results/$refExOut"          outf="$dir/results/$refExOut"
         #if test -f $outf -a -r $outf ; then  
1526          if test -r $outf -o -r ${outf}.gz ; then          if test -r $outf -o -r ${outf}.gz ; then
1527            if test "x$MULTI_THREAD" = "xt" ; then            if test "x$MULTI_THREAD" = "xt" ; then
1528              if test -r $dir"/"$exd"/eedata.mth" ; then              if test -r $dir"/"$exd"/eedata.mth" ; then

Legend:
Removed from v.1.178  
changed lines
  Added in v.1.184

  ViewVC Help
Powered by ViewVC 1.1.22