/[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.108 by jmc, Thu Dec 6 04:04:38 2007 UTC revision 1.111 by mlosch, Wed Feb 6 21:06:03 2008 UTC
# Line 15  usage() Line 15  usage()
15      echo "  (-mpi)                   compile and run using MPI"      echo "  (-mpi)                   compile and run using MPI"
16      echo "  (-ieee|-noieee)          if possible, use IEEE compiler flags"      echo "  (-ieee|-noieee)          if possible, use IEEE compiler flags"
17      echo "                             (DEF=\"-ieee\")"      echo "                             (DEF=\"-ieee\")"
18        echo "  (-gsl)                   compile with \"-gsl\" flag"
19      echo "  (-of=|-optfile=)STRING   list of optfiles to use"      echo "  (-of=|-optfile=)STRING   list of optfiles to use"
20      echo "  (-a|-addr) STRING        list of email recipients"      echo "  (-a|-addr) STRING        list of email recipients"
21      echo "                             (DEF=\"\" no email is sent)"      echo "                             (DEF=\"\" no email is sent)"
# Line 327  genmakemodel() Line 328  genmakemodel()
328              if test "x$IEEE" != x ; then              if test "x$IEEE" != x ; then
329                  command="$command -ieee"                  command="$command -ieee"
330              fi              fi
331                if test "x$GSL" = xt ; then
332                    command="$command -gsl"
333                fi
334              if test "x$MPI" = xt ; then              if test "x$MPI" = xt ; then
335                  command="$command -mpi"                  command="$command -mpi"
336              fi              fi
# Line 470  symlink_mpifiles() Line 474  symlink_mpifiles()
474      CODE_DIR=$dir/$code_dir      CODE_DIR=$dir/$code_dir
475            
476      # These are files that should replace their counter-part when using -mpi      # These are files that should replace their counter-part when using -mpi
477      MPI_FILES=`(cd $CODE_DIR; find . -name "*_mpi")`      MPI_FILES=`(cd $CODE_DIR; find . -name "*_mpi" -print)`
478    
479      #  Is this an MPI run?      #  Is this an MPI run?
480      if test "x$MPI" = xt ; then      if test "x$MPI" = xt ; then
# Line 718  scandirs() Line 722  scandirs()
722  debug=0  debug=0
723  verbose=1  verbose=1
724  clean=0  clean=0
 expts=''  
 # ieee=1  
725    
726  IEEE=true  IEEE=true
727  if test "x$MITGCM_IEEE" != x ; then  if test "x$MITGCM_IEEE" != x ; then
728      IEEE=$MITGCM_IEEE      IEEE=$MITGCM_IEEE
729  fi  fi
730    GSL=f
731    
732  CLEANUP=f  CLEANUP=f
733  QUICK=f  QUICK=f
# Line 855  for ac_option ; do Line 857  for ac_option ; do
857    
858          -ieee) IEEE=true ;;          -ieee) IEEE=true ;;
859          -noieee) IEEE= ;;          -noieee) IEEE= ;;
860            -gsl) GSL=t ;;
861    
862          -verbose) verbose=2 ;;          -verbose) verbose=2 ;;
863          -debug) debug=1 ;;          -debug) debug=1 ;;
# Line 983  else Line 986  else
986  fi  fi
987    
988  #  Create a uniquely named directory to store results  #  Create a uniquely named directory to store results
989    CMDLINE=$0
990    for xx in "$@" ; do CMDLINE="$CMDLINE '$xx'" ; done
991  MACH=`hostname`  MACH=`hostname`
992  UNAMEA=`uname -a`  UNAMEA=`uname -a`
993  DATE=`date +%Y%m%d`  DATE=`date +%Y%m%d`
# Line 1003  if test "x$RETVAL" != x0 ; then Line 1008  if test "x$RETVAL" != x0 ; then
1008      exit 1      exit 1
1009  fi  fi
1010  SUMMARY="$DRESULTS/summary.txt"  SUMMARY="$DRESULTS/summary.txt"
 printf "Start time:  " >> $SUMMARY  
1011  start_date=`date`  start_date=`date`
1012  echo $start_date > $SUMMARY  echo $start_date > $SUMMARY
1013    echo 'run:' $CMDLINE >> $SUMMARY
1014    echo 'on :' $UNAMEA  >> $SUMMARY
1015    
1016  of_path=  of_path=
1017  if test "x$OPTFILE" != xNONE ; then  if test "x$OPTFILE" != xNONE ; then

Legend:
Removed from v.1.108  
changed lines
  Added in v.1.111

  ViewVC Help
Powered by ViewVC 1.1.22