DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T d

⟦edbc79fcb⟧ TextFile

    Length: 887 (0x377)
    Types: TextFile
    Names: »doduc.run«

Derivation

└─⟦db229ac7e⟧ Bits:30007240 EUUGD20: SSBA 1.2 / AFW Benchmarks
    └─⟦this⟧ »EUUGD20/AFUU-ssba1.21/ssba1.21F/doduc/doduc.run« 

TextFile

#! /bin/sh
#				SSBA 1.21F
#
# Script : doduc.run
#
b=doduc
TIME=../config/chrono
log=$b.log
res=$b.res
echo "kill -9 $$" >$b.kill
chmod u+x $b.kill
cat $b.kill >> ../ssba/ssba.kill
d=`date`
echo "DODUC:	BEGIN execution at $d" >$log
	cat $b.doc >$res
	f=doducd
	if [ -f $f ] ; then
		$TIME $f <$b.dat 1>$b.tmp 2>>$b.tim
		cat $b.tim $b.tmp >>$log
		rm $b.tim $b.tmp 2>/dev/null
	fi
	awk ' BEGIN { FS = "\t" } /^doducd :/ { print $3 }' <$log >$b.cpu
sed 16q $log | tail -1 | awk '{ print $3 >"doduc.pre"; print $7 >"doduc.iter" }'
	cpu=`cat $b.cpu`
	pre=`cat $b.pre`
	iter=`cat $b.iter`
	rm $b.cpu $b.pre $b.iter 2>/dev/null
	if [ $iter -ge "5453" -a $iter -le "5507" ] ; then
		stat="correcte"
	else
		stat="incorrecte"
	fi
	R=`echo "(169.58 * 286.30) / $cpu" | bc`
	echo "$f : precision=$pre itera=$iter ($stat) temps=$cpu R=$R" >>$res
d=`date`
echo "DODUC:	END execution at $d" >>$log