Selectable size of test parameters
[ctsim.git] / scripts / test-single-openmp.sh
index 18a620bf795d6aabc25df9165c6422da238e9ac5..8697e3710c1701f41841093afd7b5fa56ea51b3a 100755 (executable)
@@ -1,7 +1,21 @@
-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=
 
 DIR=/tmp