--- MITgcm/verification/testreport 2003/12/05 16:21:40 1.27 +++ MITgcm/verification/testreport 2003/12/07 05:30:37 1.31 @@ -1,6 +1,6 @@ #! /usr/bin/env bash # -# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/verification/testreport,v 1.27 2003/12/05 16:21:40 edhill Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/verification/testreport,v 1.31 2003/12/07 05:30:37 edhill Exp $ # $Name: $ # @@ -675,7 +675,9 @@ createcodelet # build the mpack utility -build_mpack +if test "x$ADDRESSES" = xNONE -o "x$ADDRESSES" = x ; then + build_mpack +fi # Create a uniquely named directory to store results MACH=`hostname` @@ -774,13 +776,6 @@ continue fi - echo "-------------------------------------------------------------------------------" - echo - echo "Experiment: $dir" - echo - unset genmake makedepend make run - results='-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --' - builddir="input" rundir="input" use_seperate_build=0 @@ -800,6 +795,18 @@ fi BUILD_DIR=$dir/$builddir + 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 + + echo "-------------------------------------------------------------------------------" + echo + echo "Experiment: $dir" + echo + unset genmake makedepend make run + results='-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --' + # Create an output dir for each OPTFILE/tdir combination rel_CDIR=$DRESULTS"/"$dir mkdir $rel_CDIR