--- mitgcm.org/scripts/check_outp 2023/05/30 04:39:17 1.57 +++ mitgcm.org/scripts/check_outp 2024/02/07 20:18:24 1.59 @@ -1,6 +1,6 @@ #! /usr/bin/env bash -# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/scripts/check_outp,v 1.57 2023/05/30 04:39:17 jmc Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/scripts/check_outp,v 1.59 2024/02/07 20:18:24 jmc Exp $ # # The purpose of this script is to compare # the latest output with the previous one (from the same platform with @@ -114,7 +114,7 @@ MTH=0 UR4=0 if test -r $dir/summary.txt ; then - TAPENAD=`grep -c ' Tapenade$' $dir/summary.txt` + TAPENAD=`grep -c ' generated by Tapenade' $dir/summary.txt` ADJOINT=`grep -c -i '^ADJOINT' $dir/summary.txt` TANGLIN=`grep -c -i '^TANGLIN' $dir/summary.txt` if test "x$ADJOINT" = x1 ; then @@ -548,6 +548,8 @@ rm -f tmploc #-- count Nb of different lines ndf=`wc -l $TMP.dif | awk '{print $1}'` + nn=`grep -c ' generated by TAF Version ' $TMP.dif` + ndf=`expr $ndf - $nn` ndf=`expr $ndf / 2` nn=`grep -c '^---' $TMP.dif` ndf=`expr $ndf - $nn`