From 70d3faaa14c1e0c000a3764d730ca9e6f30c7e34 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Wed, 20 Feb 2013 11:27:50 +0100 Subject: [PATCH] Add scripts to generate graphs from raw data. --- supercomp11/.gitignore | 5 +++ supercomp11/data/Makefile | 9 +++++ supercomp11/data/genalltex | 71 ++++++++++++++++++++++++++++++++++++++ supercomp11/data/plot | 33 ++++++++++++++++++ supercomp11/data/plotall | 18 ++++++++++ 5 files changed, 136 insertions(+) create mode 100644 supercomp11/data/Makefile create mode 100755 supercomp11/data/genalltex create mode 100755 supercomp11/data/plot create mode 100755 supercomp11/data/plotall 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 -- 2.39.5