From 2426924624cd792b2ec768cda4c18ab619c7cf7b Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Thu, 26 Jan 2012 22:27:07 +0100 Subject: [PATCH] add stats-dir --- openmp/prefix/runAll.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/openmp/prefix/runAll.sh b/openmp/prefix/runAll.sh index a61dfdf..4967722 100755 --- a/openmp/prefix/runAll.sh +++ b/openmp/prefix/runAll.sh @@ -7,17 +7,19 @@ fi ALGORITHMS="seq datapar recurse hillis_sum hillis_partial" RUNLIST="$(seq 100000 100000 1000000) $(seq 1000000 1000000 10000000) $(seq 10000000 10000000 100000000)" -rm -f prefix.pre.dat prefix.seq.dat prefix.recurse.dat prefix.datapar.dat prefix.hillis_sum.dat prefix.hillis_partial.dat -touch prefix.pre.dat +rm -rf stats +mkdir -p stats +touch stats/prefix.pre.dat ulimit -s unlimited for prog in $ALGORITHMS; do echo $prog for i in $RUNLIST; do - build/$prog -n $i | tee -a prefix.pre.dat + build/$prog -n $i | tee -a stats/prefix.pre.dat done done +cd stats ./parseDat.py echo "done - hit ENTER to exit" -- 2.43.0