104 |
RESTART=0 |
RESTART=0 |
105 |
FAST=0 |
FAST=0 |
106 |
DVLP=0 |
DVLP=0 |
107 |
|
MPI=0 |
108 |
MTH=0 |
MTH=0 |
109 |
|
UR4=0 |
110 |
if test -r $dir/summary.txt ; then |
if test -r $dir/summary.txt ; then |
111 |
comm=`grep 'ADJOINT=true' $dir/summary.txt 2>/dev/null` |
comm=`grep 'ADJOINT=true' $dir/summary.txt 2>/dev/null` |
112 |
eval $comm |
eval $comm |
116 |
FAST=`grep -c "^run: .*testreport.* '*-noieee'*" $dir/summary.txt` |
FAST=`grep -c "^run: .*testreport.* '*-noieee'*" $dir/summary.txt` |
117 |
fi |
fi |
118 |
DVLP=`grep -c "^run: .*testreport.* '*-devel'*" $dir/summary.txt` |
DVLP=`grep -c "^run: .*testreport.* '*-devel'*" $dir/summary.txt` |
119 |
|
MPI=`grep -c "^run: .*testreport.* -mpi " $dir/summary.txt` |
120 |
|
if test "x$MPI" = x0 ; then |
121 |
|
MPI=`grep -c "^run: .*testreport.* -MPI " $dir/summary.txt` |
122 |
|
fi |
123 |
MTH=`grep -c "^run: .*testreport.* -mth" $dir/summary.txt` |
MTH=`grep -c "^run: .*testreport.* -mth" $dir/summary.txt` |
124 |
|
UR4=`grep -c "^run: .*testreport.* -use_r4 " $dir/summary.txt` |
125 |
|
if test "x$UR4" = x0 ; then |
126 |
|
UR4=`grep -c "^run: .*testreport.* -ur4 " $dir/summary.txt` |
127 |
|
fi |
128 |
fi |
fi |
129 |
if test "x$RESTART" = x0 ; then |
if test "x$RESTART" = x0 ; then |
130 |
kind="forward" |
kind="forward" |
132 |
else |
else |
133 |
kind="restart" |
kind="restart" |
134 |
fi |
fi |
135 |
|
if test "x$UR4" = x1 ; then |
136 |
|
OPTFILE="${OPTFILE}.use_r4" |
137 |
|
fi |
138 |
|
if test "x$MPI" = x1 ; then |
139 |
|
yy=`echo $OPTFILE | grep -c '+mpi'` |
140 |
|
if test $yy = 0 ; then OPTFILE="${OPTFILE}+mpi" ; fi |
141 |
|
fi |
142 |
if test "x$MTH" = x1 ; then |
if test "x$MTH" = x1 ; then |
143 |
yy=`echo $OPTFILE | grep -c '+mth$'` |
yy=`echo $OPTFILE | grep -c '+mth$'` |
144 |
if test $yy = 0 ; then OPTFILE="${OPTFILE}+mth" ; fi |
if test $yy = 0 ; then OPTFILE="${OPTFILE}+mth" ; fi |