| 162 |
else |
else |
| 163 |
kind="restart" ; order=5 |
kind="restart" ; order=5 |
| 164 |
fi |
fi |
|
order=`expr $order + 10 \* $EXTRA` |
|
|
order=`printf '%3.3i' $order` |
|
| 165 |
if test "x$UR4" = x1 ; then |
if test "x$UR4" = x1 ; then |
| 166 |
OPTFILE="${OPTFILE}.use_r4" |
OPTFILE="${OPTFILE}.use_r4" |
| 167 |
fi |
fi |
| 168 |
if test "x$MPI" = x1 ; then |
if test "x$MPI" = x1 ; then |
| 169 |
yy=`echo $OPTFILE | grep -c '+mpi'` |
yy=`echo $OPTFILE | grep -c '+mpi'` |
| 170 |
if test $yy = 0 ; then OPTFILE="${OPTFILE}+mpi" ; fi |
if test $yy = 0 ; then yy=`echo $OPTFILE | grep -c '+impi'` ; fi |
| 171 |
|
if test $yy = 0 ; then OPTFILE="${OPTFILE}+mpi" |
| 172 |
|
else order=`expr $order + 200` ; fi |
| 173 |
fi |
fi |
| 174 |
if test "x$MTH" = x1 ; then |
if test "x$MTH" = x1 ; then |
| 175 |
yy=`echo $OPTFILE | grep -c '+mth$'` |
yy=`echo $OPTFILE | grep -c '+mth$'` |
| 181 |
if test "x$DVLP" = x1 ; then |
if test "x$DVLP" = x1 ; then |
| 182 |
OPTFILE="${OPTFILE}.dvlp" |
OPTFILE="${OPTFILE}.dvlp" |
| 183 |
fi |
fi |
| 184 |
|
order=`expr $order + 10 \* $EXTRA` |
| 185 |
|
order=`printf '%3.3i' $order` |
| 186 |
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]$//'` |
| 187 |
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]$//'` |
| 188 |
day=`echo $ttt | sed -e 's|_| |g' |awk '{print $NF}'` |
day=`echo $ttt | sed -e 's|_| |g' |awk '{print $NF}'` |