--- MITgcm/verification/testreport 2011/09/30 20:25:50 1.168 +++ MITgcm/verification/testreport 2012/05/02 14:30:28 1.172 @@ -1,6 +1,6 @@ #! /usr/bin/env bash # -# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/verification/testreport,v 1.168 2011/09/30 20:25:50 jmc Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/verification/testreport,v 1.172 2012/05/02 14:30:28 jmc Exp $ # $Name: $ # @@ -290,6 +290,14 @@ 'hSImx') testoutput_var $1 "seaice_heff_max" "SIce Heff max" $2 $3; yy=$? ;; 'hSIav') testoutput_var $1 "seaice_heff_mean" "SIce Heff mean" $2 $3; yy=$? ;; 'hSIsd') testoutput_var $1 "seaice_heff_sd" "SIce Heff StDv" $2 $3; yy=$? ;; + 'uSImn') testoutput_var $1 "seaice_uice_min" "SIce Uice min" $2 $3; yy=$? ;; + 'uSImx') testoutput_var $1 "seaice_uice_max" "SIce Uice max" $2 $3; yy=$? ;; + 'uSIav') testoutput_var $1 "seaice_uice_mean" "SIce Uice mean" $2 $3; yy=$? ;; + 'uSIsd') testoutput_var $1 "seaice_uice_sd" "SIce Uice StDv" $2 $3; yy=$? ;; + 'vSImn') testoutput_var $1 "seaice_vice_min" "SIce Vice min" $2 $3; yy=$? ;; + 'vSImx') testoutput_var $1 "seaice_vice_max" "SIce Vice max" $2 $3; yy=$? ;; + 'vSIav') testoutput_var $1 "seaice_vice_mean" "SIce Vice mean" $2 $3; yy=$? ;; + 'vSIsd') testoutput_var $1 "seaice_vice_sd" "SIce Vice StDv" $2 $3; yy=$? ;; 'AthSiG') testoutput_var $1 "thSI_Ice_Area_G" "thSIc Area Global" $2 $3; yy=$? ;; 'AthSiS') testoutput_var $1 "thSI_Ice_Area_S" "thSIc Area South" $2 $3; yy=$? ;; 'AthSiN') testoutput_var $1 "thSI_Ice_Area_N" "thSIc Area North" $2 $3; yy=$? ;; @@ -435,7 +443,7 @@ find . -name "fort.*" -exec rm {} \; find . -type l -exec rm {} \; #- should remove executable only if sym-link (alredy done above) - rm -f $RUNLOG *.txt STD* *diagnostics.log datetime + rm -f $RUNLOG *.txt STD* w2_tile_topology.????.log *diagnostics.log datetime rm -rf mnc_test_* rm -f *_MIT_CE_000.opt0000 costfunction*0000 echo successful @@ -484,7 +492,11 @@ cd $1; if test -r Makefile ; then printf 'make ... ' - $MAKE $TARG >> make.tr_log 2>&1 + if test "x$REPLMAKE" = x ; then + $MAKE $TARG >> make.tr_log 2>&1 + else + $REPLMAKE $TARG >> make.tr_log 2>&1 + fi RETVAL=$? if test "x$RETVAL" != x0 ; then tail make.tr_log @@ -918,10 +930,6 @@ verbose=1 NBLINES_MKLOG=16000 -IEEE=true -if test "x$MITGCM_IEEE" != x ; then - IEEE=$MITGCM_IEEE -fi OptLev=1 GSL=f @@ -947,6 +955,7 @@ if test "x$MAKE" = x ; then MAKE=make fi +REPLMAKE= if test "x$CC" = x ; then CC=cc fi @@ -1011,6 +1020,9 @@ -make | --make | -m | --m) ac_prev=MAKE ;; -make=* | --make=* | -m=* | --m=*) MAKE=$ac_optarg ;; + -repl_mk | --repl_mk ) ac_prev=REPLMAKE ;; + -repl_mk=* | --repl_mk=*) REPLMAKE=$ac_optarg ;; + -odir | --odir) ac_prev=OUTDIR ;; -odir=* | --odir=*) OUTDIR=$ac_optarg ;; @@ -1197,7 +1209,7 @@ EMPTY_RESULTS=$EMPTY_RESULTS`expr $LEN_CHECK_LIST - $ii | awk 'BEGIN{FS=":"}{for(i=1;i<=$1;i++){printf " ."}}'` else DEF_CHECK_LIST='AdGrd Cost AdGrd FDGrd' - EMPTY_RESULTS='.. ..' + EMPTY_RESULTS='.. .. ..' LEN_CHECK_LIST=`echo $DEF_CHECK_LIST | sed 's/ [a-zA-Z0-9]*+/&mn &mx &av &sd/g' | awk '{print NF-1}'` fi