7 test ${#toclean[@]} -gt 0 && rm -f "${toclean[@]}"
17 if [ "$1" = "-d" ]; then
23 [ $debug = 1 ] && eval "$@"
28 grep -e "$RE" alldata > $tmpA
30 for type in {I,R}{1,N}; do
31 for ratio in 10:1 1:1 1:10; do
32 for platf in cluster grid; do
33 for topo in line torus hcube; do
35 -v re="^results_${type}_${ratio}/plat_${platf}[0-9]+/topo_${topo}" \
41 size=substr(platf, match(platf, "[0-9]"));
46 print algo, size, idle, conv_avg, conv_max;
49 | sort -k1,1r -k2,2n \
55 } else if ($1 != prev) {
56 printf("\n\n%s\n", $1);
64 title="results_${type}_${ratio}/plat_${platf}/topo_${topo}"
65 if [ ! -s $tmpB ]; then
66 if_debug echo "... skip: $title"
69 echo "===[ $title ]==="
71 nb=$(expr $(grep -c ^algo $tmpB) - 1) || true
75 -e "set title '$title'" \
77 for [i=0:$nb] '$tmpB' index i using 1:4 with linespoint ls i+1 title column(1)" \
80 ### all idle avg; conv avg; conv max
82 -e "set title '$title'" \
84 for [i=0:$nb] '$tmpB' index i using 1:4 with linespoint ls i+1 title column(1),
85 for [i=0:$nb] '$tmpB' index i using 1:3 with linespoint ls i+1 notitle,
86 for [i=0:$nb] '$tmpB' index i using 1:2 with linespoint ls i+1 notitle" \