3 if [ ! -f numlist.bin ]; then
4 echo "generating numfile.bin"
5 dd if=/dev/urandom of=numlist.bin bs=1000 count=100000
8 if [ ! -e build ]; then
13 STARTTS="`date --iso-8601=minutes`"
14 SCHEDULING="static dynamic guided runtime"
15 ALGORITHMS="seq datapar recurse hillis_sum hillis_partial reduce"
16 #RUNLIST="$(seq 0 250000 1000000) $(seq 0 2500000 10000000) $(seq 0 25000000 100000000)"
17 RUNLIST="1024 2048 4096 8192 16384 32768 65536 131072 262144 524288 1048576 2097152 4194304 8388608 16777216 33554432 67108864 134217728"
19 echo "STARTING: stats/raw/${STARTTS}"
20 mkdir -p "stats/raw/${STARTTS}"
22 for sched in $SCHEDULING; do
23 echo "***** sched: ${sched} *****"
26 for algo in $ALGORITHMS; do
27 echo "*** algo: ${algo} ***"
29 if [ "$i" -eq "0" ] ; then
30 echo "* ignoring 0 run *"
32 build/$algo -n $i > "stats/raw/tmp" 2> /dev/null
34 mv stats/raw/tmp "stats/raw/${STARTTS}/${sched}_${algo}_n${i}"