From: Arnaud Giersch Date: Wed, 20 Feb 2013 10:27:50 +0000 (+0100) Subject: Add scripts to generate graphs from raw data. X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba-papers.git/commitdiff_plain/70d3faaa14c1e0c000a3764d730ca9e6f30c7e34?ds=inline Add scripts to generate graphs from raw data. --- diff --git a/supercomp11/.gitignore b/supercomp11/.gitignore index 2311d26..f90c70c 100644 --- a/supercomp11/.gitignore +++ b/supercomp11/.gitignore @@ -1,2 +1,7 @@ supercomp11.pdf supercomp11.ps + +data/all.tex +data/all.pdf +data/results-[IR][1N]-1*.*[01] +data/results.done diff --git a/supercomp11/data/Makefile b/supercomp11/data/Makefile new file mode 100644 index 0000000..85cc01d --- /dev/null +++ b/supercomp11/data/Makefile @@ -0,0 +1,9 @@ +all.pdf: all.tex results.done + pdflatex all.tex + +all.tex: genalltex + ./genalltex > all.tex + +results.done: alldata plot plotall + ./plotall + touch results.done diff --git a/supercomp11/data/genalltex b/supercomp11/data/genalltex new file mode 100755 index 0000000..6cfc578 --- /dev/null +++ b/supercomp11/data/genalltex @@ -0,0 +1,71 @@ +#!/bin/bash + +sizes=( 16 64 256 1024 ) +topologies=( line torus hcube ) +repartitions=( 1 N ) +types=( I R ) +platforms=( cluster grid ) +ratios=( 10.1 1.1 1.10 ) + +cat < data.tmp + gnuplot -e "set title '$cfg'" ./plot + rm data.tmp + name=$(echo $cfg | tr :_ .-) + mkdir -p "${name%/*}" + mv data.tmp.pdf "$name".pdf +done