/[MITgcm]/MITgcm/tools/do_tst_2+2
ViewVC logotype

Diff of /MITgcm/tools/do_tst_2+2

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.20 by jmc, Fri Oct 23 23:11:50 2015 UTC revision 1.21 by jmc, Wed Nov 18 22:18:41 2015 UTC
# Line 269  if test "x$ADDRESS" != xNONE -a "x$ADDRE Line 269  if test "x$ADDRESS" != xNONE -a "x$ADDRE
269        # if Send-Command is empty and mpack exist, then send email using mpack.        # if Send-Command is empty and mpack exist, then send email using mpack.
270        if test -x $MPACK ; then SENDCMD=$MPACK        if test -x $MPACK ; then SENDCMD=$MPACK
271        else        else
         echo "Warning: $MPACK is not executable => no email was sent"  
272          echo          echo
273            echo "Warning: $MPACK is not executable => no email was sent"
274        fi        fi
275      fi      fi
276      if test "x$SENDCMD" != x ; then      if test "x$SENDCMD" != x ; then
# Line 284  if test "x$ADDRESS" != xNONE -a "x$ADDRE Line 284  if test "x$ADDRESS" != xNONE -a "x$ADDRE
284              echo "Warning: The tar, gzip, & mpack step failed.  Please send email"              echo "Warning: The tar, gzip, & mpack step failed.  Please send email"
285              echo "  to <MITgcm-support@mitgcm.org> for help.  You may copy the "              echo "  to <MITgcm-support@mitgcm.org> for help.  You may copy the "
286              echo "  summary of results from the directory \"$DRESULTS\"."              echo "  summary of results from the directory \"$DRESULTS\"."
             echo  
287          else          else
288              echo              echo
289              echo "An email containing results was sent to the following address:"              echo "An email containing results was sent to the following address:"
290              echo "  \"$ADDRESS\""              echo "  \"$ADDRESS\""
             echo  
291          fi          fi
292          test -f ${SAVDIR}/${DRESULTS}".tar" &&  rm -f ${SAVDIR}/${DRESULTS}".tar"          test -f ${SAVDIR}/${DRESULTS}".tar" &&  rm -f ${SAVDIR}/${DRESULTS}".tar"
293          test -f ${SAVDIR}/${DRESULTS}".tar.gz" &&  rm -f ${SAVDIR}/${DRESULTS}".tar.gz"          test -f ${SAVDIR}/${DRESULTS}".tar.gz" &&  rm -f ${SAVDIR}/${DRESULTS}".tar.gz"
294      fi      fi
295  fi  fi
296    echo '' ; echo '=====  Summary (tst_2+2_out.txt):  ======'
297    cat $SUMMARY
298    
299  # save output and remove output Dir (if no address was provided)  # save output and remove output Dir (if no address was provided)
300  # note: to keep the output Dir without sending email, use option "-a NONE"  # note: to keep the output Dir without sending email, use option "-a NONE"

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

  ViewVC Help
Powered by ViewVC 1.1.22