244 |
ADJOINT= |
ADJOINT= |
245 |
RESTART=0 |
RESTART=0 |
246 |
NOI3E=0 |
NOI3E=0 |
247 |
|
MTH=0 |
248 |
if test -r $dir/summary.txt ; then |
if test -r $dir/summary.txt ; then |
249 |
comm=`grep 'ADJOINT=true' $dir/summary.txt 2>/dev/null` |
comm=`grep 'ADJOINT=true' $dir/summary.txt 2>/dev/null` |
250 |
eval $comm |
eval $comm |
251 |
RESTART=`grep -c 'test 2+2=4 summary' $dir/summary.txt` |
RESTART=`grep -c 'test 2+2=4 summary' $dir/summary.txt` |
252 |
NOI3E=`grep -c "^run: .*testreport .* '*-noieee'* " $dir/summary.txt` |
NOI3E=`grep -c "^run: .*testreport.* '*-noieee'* " $dir/summary.txt` |
253 |
|
MTH=`grep -c "^run: .*testreport.* -mth " $dir/summary.txt` |
254 |
fi |
fi |
255 |
if test "x$RESTART" = x0 ; then |
if test "x$RESTART" = x0 ; then |
256 |
kind="forward" |
kind="forward" |
261 |
if test "x$NOI3E" = x1 ; then |
if test "x$NOI3E" = x1 ; then |
262 |
OPTFILE="${OPTFILE}.noieee" |
OPTFILE="${OPTFILE}.noieee" |
263 |
fi |
fi |
264 |
|
if test "x$MTH" = x1 ; then |
265 |
|
yy=`echo $OPTFILE | grep -c 'mth$'` |
266 |
|
if test $yy = 0 ; then OPTFILE="${OPTFILE}+mth" ; fi |
267 |
|
fi |
268 |
day=`echo $i | sed -e 's/_[0-9]$//' | sed -e 's/_[0-9][0-9]$//'` |
day=`echo $i | sed -e 's/_[0-9]$//' | sed -e 's/_[0-9][0-9]$//'` |
269 |
ttt=`echo $day | sed -e 's/_[0-9]$//' | sed -e 's/_[0-9][0-9]$//'` |
ttt=`echo $day | sed -e 's/_[0-9]$//' | sed -e 's/_[0-9][0-9]$//'` |
270 |
day=`echo $ttt | sed -e 's|_| |g' |awk '{print $NF}'` |
day=`echo $ttt | sed -e 's|_| |g' |awk '{print $NF}'` |