--- MITgcm/verification/testreport 2003/12/05 17:00:10 1.28 +++ MITgcm/verification/testreport 2003/12/18 15:12:34 1.33 @@ -1,6 +1,6 @@ #! /usr/bin/env bash # -# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/verification/testreport,v 1.28 2003/12/05 17:00:10 edhill Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/verification/testreport,v 1.33 2003/12/18 15:12:34 adcroft Exp $ # $Name: $ # @@ -437,10 +437,11 @@ #include #include int main( int argc, char** argv ) { - int linnum,best; + int linnum,best,lncnt; double a,b,diff; best = -16; - while( 1 ) { + lncnt = 0; + while( 1 & (lncnt+=1) < 999 ) { scanf("%d", &linnum); if (linnum == -1) break; scanf("%lf", &a); scanf("%lf", &b); @@ -456,6 +457,7 @@ } } } + if (lncnt == 999) best=-29; printf("%d\n", -best); return 0; } @@ -675,7 +677,11 @@ createcodelet # build the mpack utility -build_mpack +if test "x$ADDRESSES" = xNONE -o "x$ADDRESSES" = x ; then + echo "skipping mpack build" +else + build_mpack +fi # Create a uniquely named directory to store results MACH=`hostname` @@ -793,7 +799,7 @@ fi BUILD_DIR=$dir/$builddir - if test ! -r $CODE_DIR"/SIZE.h_mpi" ; then + if test ! -r $CODE_DIR"/SIZE.h_mpi" -a "x$MPI" = "xt" ; then echo "can't find \"$CODE_DIR/SIZE.h_mpi\" -- skipping $dir" continue fi