/[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.27 by edhill, Fri Dec 5 16:21:40 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 774  for dir in $TESTDIRS ; do Line 780  for dir in $TESTDIRS ; do
780          continue          continue
781      fi      fi
782    
     echo "-------------------------------------------------------------------------------"  
     echo  
     echo "Experiment:  $dir"  
     echo  
     unset genmake makedepend make run  
     results='-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --'  
   
783      builddir="input"      builddir="input"
784      rundir="input"      rundir="input"
785      use_seperate_build=0      use_seperate_build=0
# Line 800  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" -a "x$MPI" = "xt" ; then
803            echo "can't find \"$CODE_DIR/SIZE.h_mpi\" -- skipping $dir"
804            continue
805        fi
806    
807        echo "-------------------------------------------------------------------------------"
808        echo
809        echo "Experiment:  $dir"
810        echo
811        unset genmake makedepend make run
812        results='-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --'
813    
814      #  Create an output dir for each OPTFILE/tdir combination      #  Create an output dir for each OPTFILE/tdir combination
815      rel_CDIR=$DRESULTS"/"$dir      rel_CDIR=$DRESULTS"/"$dir
816      mkdir $rel_CDIR      mkdir $rel_CDIR

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

  ViewVC Help
Powered by ViewVC 1.1.22