X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=scripts%2Ftest-single-openmp.sh;h=8697e3710c1701f41841093afd7b5fa56ea51b3a;hb=b6b7a4c68b20d0f86c8fb1095a166d4b93c3feba;hp=22f1a2454b9400bd252cf6c378172c6cec62dae2;hpb=f1ae7f6c825d217010b864c35672e8caf58575d4;p=ctsim.git diff --git a/scripts/test-single-openmp.sh b/scripts/test-single-openmp.sh index 22f1a24..8697e37 100755 --- a/scripts/test-single-openmp.sh +++ b/scripts/test-single-openmp.sh @@ -1,12 +1,26 @@ -PR=1651 -PV=1441 -IX=1151 -IY=$IX +#/bin/sh + +TEST=medium +if test $# -ge 1; then + TEST=$1 +fi + +if test "x$TEST" = "xshort"; then + PR=165; PV=144; IX=115; IY=$IX +elif test "x$TEST" = "xmedium"; then + PR=901; PV=600; IX=500; IY=$IX +elif test "x$TEST" = "xlong"; then + PR=1651; PV=1440; IX=1151; IY=$IX +else + echo "usage: $0 [test-size]" + echo "test-size -- either short, medium, or long" + exit +fi TIME= -BIN1=./omp/ctsimtext -BIN2=./sng/ctsimtext DIR=/tmp +BIN1=$DIR/omp/ctsimtext +BIN2=$DIR/sng/ctsimtext for PHAN in herman; do fbase=${DIR}/${PHAN}