| 308 |
ctot=`expr $ctot + 1` |
ctot=`expr $ctot + 1` |
| 309 |
sline=`grep "^$key " ./slist | head -1` |
sline=`grep "^$key " ./slist | head -1` |
| 310 |
sdir=`echo $sline | cut -d " " -f 5` |
sdir=`echo $sline | cut -d " " -f 5` |
| 311 |
kind=`echo $sline | cut -d " " -f 4` |
type=`echo $sline | cut -d " " -f 4` |
| 312 |
optf=`echo $sline | cut -d " " -f 3` |
optf=`echo $sline | cut -d " " -f 3` |
| 313 |
num=`grep -c "^$key" ./plist` |
num=`grep -c "^$key" ./plist` |
| 314 |
if test $num = 0 -a $monthDir = 1 ; then |
if test $num = 0 -a $monthDir = 1 ; then |
| 318 |
num=`grep -c "^$key" ./plist` |
num=`grep -c "^$key" ./plist` |
| 319 |
fi |
fi |
| 320 |
#- discard unsafe test: |
#- discard unsafe test: |
| 321 |
dd=`echo $optf | grep -c 'gfortran.*mth'` |
dd=`echo $optf | grep -c 'gfortran+mth'` |
| 322 |
#if test $mname = 'lagoon' -a $dd = 1 ; then num=-1 ; fi |
#if test $mname = 'lagoon' -a $dd = 1 ; then num=-1 ; fi |
| 323 |
#if test $mname = 'harbor' -a $dd = 1 ; then num=-1 ; fi |
#if test $mname = 'harbor' -a $dd = 1 ; then num=-1 ; fi |
| 324 |
#if test $mname = 'aces' -a $optf = 'linux_ia32_open64' ; then num=-1 ; fi |
#if test $mname = 'aces' -a $optf = 'linux_ia32_open64' ; then num=-1 ; fi |
| 325 |
#if test $mname = 'aces' -a $optf = 'linux_ia32_g95' ; then num=-1 ; fi |
#if test $mname = 'aces' -a $optf = 'linux_ia32_g95' ; then num=-1 ; fi |
| 326 |
if test $num -gt 0 ; then |
dd=`echo $optf | grep -c 'bigred.*+mth'` |
| 327 |
|
#if test $mname = 'bigred' -a $dd = 1 ; then num=-1 ; fi |
| 328 |
|
if test $num -lt 0 ; then |
| 329 |
|
echo " discard $sdir : $type , of='$optf'" | tee -a $OUTPFIL |
| 330 |
|
cmis=`expr $cmis + 1` |
| 331 |
|
elif test $num = '0' ; then |
| 332 |
|
echo "no previous test for:" $key | tee -a $OUTPFIL |
| 333 |
|
cmis=`expr $cmis + 1` |
| 334 |
|
else |
| 335 |
pline=`grep "^$key " ./plist | head -1` |
pline=`grep "^$key " ./plist | head -1` |
| 336 |
if test $dBug = 't' ; then |
if test $dBug = 't' ; then |
| 337 |
echo "s='$sline'" | tee -a $OUTPFIL |
echo "s='$sline'" | tee -a $OUTPFIL |
| 369 |
diff tmpfs tmpfp > tmpdf |
diff tmpfs tmpfp > tmpdf |
| 370 |
yy=$? |
yy=$? |
| 371 |
if test $yy != '0' ; then |
if test $yy != '0' ; then |
| 372 |
echo " $kind , of='$optf'" | tee -a $OUTPFIL |
echo " $type , of='$optf'" | tee -a $OUTPFIL |
| 373 |
#grep '^run: ' $outp |
#grep '^run: ' $outp |
| 374 |
#grep '^run: ' $outs |
#grep '^run: ' $outs |
| 375 |
#-- score for each test: |
#-- score for each test: |
| 403 |
cdif=`expr $cdif + 1` |
cdif=`expr $cdif + 1` |
| 404 |
echo '----------------------------------------' | tee -a $OUTPFIL |
echo '----------------------------------------' | tee -a $OUTPFIL |
| 405 |
else |
else |
| 406 |
echo "" | tee -a $OUTPFIL |
echo " $type , of='$optf'" | tee -a $OUTPFIL |
| 407 |
fi |
fi |
| 408 |
rm -f tmpfs tmpfp tmpdf |
rm -f tmpfs tmpfp tmpdf |
|
elif test $num = '0' ; then |
|
|
echo "no previous test for:" $key | tee -a $OUTPFIL |
|
|
cmis=`expr $cmis + 1` |
|
|
else |
|
|
cmis=`expr $cmis + 1` |
|
| 409 |
fi |
fi |
| 410 |
done |
done |
| 411 |
if [ $cmis -gt 0 ] ; then tmis='(-'$cmis')' ; else tmis='(--)' ; fi |
if [ $cmis -gt 0 ] ; then tmis='(-'$cmis')' ; else tmis='(--)' ; fi |