--- MITgcm/verification/testreport 2013/07/09 22:11:47 1.186 +++ MITgcm/verification/testreport 2013/07/18 22:11:58 1.187 @@ -1,6 +1,6 @@ #! /usr/bin/env bash # -# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/verification/testreport,v 1.186 2013/07/09 22:11:47 jmc Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/verification/testreport,v 1.187 2013/07/18 22:11:58 jmc Exp $ # $Name: $ # @@ -796,7 +796,13 @@ # output do not exist or is older than executable: rm -f $OUTPUTFILE $RUNLOG ; touch $RUNLOG if test -f run.log_tmp ; then cat run.log_tmp >> $RUNLOG ; fi + #--a quick and dirty trick to run with Divided Adjoint (DIVA): + if test $KIND = 2 -a -x dorun.sh ; then + ./dorun.sh >> $RUNLOG 2>&1 + else ( eval $COMMAND ) >> $RUNLOG 2>&1 + fi + #---------- RETVAL=$? ENDVAL=`tail $OUTPUTFILE | grep -c 'PROGRAM MAIN: Execution ended Normally'` if [ $POSTCLEAN -eq 1 -a $ENDVAL -gt 0 ] ; then