/[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.28 by edhill, Fri Dec 5 17:00:10 2003 UTC revision 1.33 by adcroft, Thu Dec 18 15:12:34 2003 UTC
# Line 437  createcodelet() Line 437  createcodelet()
437  #include <stdio.h>  #include <stdio.h>
438  #include <math.h>  #include <math.h>
439  int main( int argc, char** argv )  {  int main( int argc, char** argv )  {
440    int linnum,best;    int linnum,best,lncnt;
441    double a,b,diff;    double a,b,diff;
442    best = -16;    best = -16;
443    while( 1 )  {    lncnt = 0;
444      while( 1 & (lncnt+=1) < 999 )  {
445      scanf("%d", &linnum);      scanf("%d", &linnum);
446      if (linnum == -1)  break;      if (linnum == -1)  break;
447      scanf("%lf", &a);  scanf("%lf", &b);      scanf("%lf", &a);  scanf("%lf", &b);
# Line 456  int main( int argc, char** argv )  { Line 457  int main( int argc, char** argv )  {
457        }        }
458      }      }
459    }    }
460      if (lncnt == 999) best=-29;
461    printf("%d\n", -best);    printf("%d\n", -best);
462    return 0;    return 0;
463  }  }
# Line 675  echo "OK" Line 677  echo "OK"
677  createcodelet  createcodelet
678    
679  #  build the mpack utility  #  build the mpack utility
680  build_mpack  if test "x$ADDRESSES" = xNONE -o "x$ADDRESSES" = x ; then
681        echo "skipping mpack build"
682    else
683        build_mpack
684    fi
685    
686  #  Create a uniquely named directory to store results  #  Create a uniquely named directory to store results
687  MACH=`hostname`  MACH=`hostname`
# Line 793  for dir in $TESTDIRS ; do Line 799  for dir in $TESTDIRS ; do
799      fi      fi
800      BUILD_DIR=$dir/$builddir      BUILD_DIR=$dir/$builddir
801    
802      if test ! -r $CODE_DIR"/SIZE.h_mpi" ; then      if test ! -r $CODE_DIR"/SIZE.h_mpi" -a "x$MPI" = "xt" ; then
803          echo "can't find \"$CODE_DIR/SIZE.h_mpi\" -- skipping $dir"          echo "can't find \"$CODE_DIR/SIZE.h_mpi\" -- skipping $dir"
804          continue          continue
805      fi      fi

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.33

  ViewVC Help
Powered by ViewVC 1.1.22