From 3b225b6aa31fec55c5fe7414cb8a6130783b3f15 Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Wed, 25 Jan 2012 05:49:42 +0100 Subject: [PATCH] cleanup runAll.sh --- openmp/prefix/runAll.sh | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/openmp/prefix/runAll.sh b/openmp/prefix/runAll.sh index 0425c3f..ced0d81 100755 --- a/openmp/prefix/runAll.sh +++ b/openmp/prefix/runAll.sh @@ -2,24 +2,16 @@ touch numlist.bin -echo "seq" -build/seq -n 10 -build/seq -n 100000 -build/seq -n 1000000000 -build/seq -n 10000000000 +ALGORITHMS="seq datapar recurse hillis" +RUNLIST="10 100000 1000000000 5000000000" -echo "datapar" -build/datapar -n 10 -build/datapar -n 100000 -build/datapar -n 1000000000 -build/datapar -n 10000000000 - -echo "recurse" ulimit -s unlimited -build/recurse - -echo "hillis" -build/hillis +for prog in $ALGORITHMS; do + echo $prog + for i in $RUNLIST; do + build/$prog -n $i + done +done echo "done - hit ENTER to exit" read -- 2.43.0