From 2b3b5cc556c084e431d6394ca785d2415a4644c3 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Tue, 27 Mar 2001 11:32:08 -0500 Subject: [svn-r3724] Purpose: Improvement Description: Changed the default value of $NPROCS from 2 to 3. This is the value libSAF uses since 3 processes have a much bigger chance catching parallel errors than just 2 processes. Changed the default dataset sizes from 800 to 1200 so that it is a multiple for 3 (and 8 too which is ofter used in the Tflops test.) Platforms tested: Modi4 (IRIX64) both serial and parallel modes. --- configure | 6 +++--- configure.in | 6 +++--- testpar/testphdf5.h | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/configure b/configure index 3dd6556..3e5dcc1 100755 --- a/configure +++ b/configure @@ -9283,7 +9283,7 @@ echo "configure:9270: checking for mpirun" >&5 echo "$ac_t""$path/mpirun" 1>&6 RUNSERIAL="${RUNSERIAL:-none}" if test -z "$RUNPARALLEL"; then - RUNPARALLEL="$path/mpirun -np \$\${NPROCS:=2}" + RUNPARALLEL="$path/mpirun -np \$\${NPROCS:=3}" fi else echo "$ac_t""none" 1>&6 @@ -9315,7 +9315,7 @@ echo "configure:9297: checking for mpirun_lam or mpirun" >&5 echo "$ac_t""$path/$cmd" 1>&6; RUNSERIAL="${RUNSERIAL:-none}" if test -z "$RUNPARALLEL"; then - RUNPARALLEL="$path/$cmd -np \$\${NPROCS:=2}" + RUNPARALLEL="$path/$cmd -np \$\${NPROCS:=3}" fi else echo "$ac_t""none" 1>&6 @@ -9481,7 +9481,7 @@ rm -f conftest* fi if test "X$PARALLEL" = "Xyes" -a -z "$RUNPARALLEL"; then - RUNPARALLEL="mpirun -np \$\${NPROCS:=2}" + RUNPARALLEL="mpirun -np \$\${NPROCS:=3}" fi ;; diff --git a/configure.in b/configure.in index be91f49..6b7a6ad 100644 --- a/configure.in +++ b/configure.in @@ -1227,7 +1227,7 @@ case "$CC_BASENAME" in AC_MSG_RESULT($path/mpirun) RUNSERIAL="${RUNSERIAL:-none}" if test -z "$RUNPARALLEL"; then - RUNPARALLEL="$path/mpirun -np \$\${NPROCS:=2}" + RUNPARALLEL="$path/mpirun -np \$\${NPROCS:=3}" fi else AC_MSG_RESULT(none) @@ -1262,7 +1262,7 @@ case "$CC_BASENAME" in AC_MSG_RESULT($path/$cmd); RUNSERIAL="${RUNSERIAL:-none}" if test -z "$RUNPARALLEL"; then - RUNPARALLEL="$path/$cmd -np \$\${NPROCS:=2}" + RUNPARALLEL="$path/$cmd -np \$\${NPROCS:=3}" fi else AC_MSG_RESULT(none) @@ -1318,7 +1318,7 @@ case "X-$enable_parallel" in dnl Set RUNPARALLEL to mpirun if not set yet. if test "X$PARALLEL" = "Xyes" -a -z "$RUNPARALLEL"; then - RUNPARALLEL="mpirun -np \$\${NPROCS:=2}" + RUNPARALLEL="mpirun -np \$\${NPROCS:=3}" fi ;; diff --git a/testpar/testphdf5.h b/testpar/testphdf5.h index 4cf27c0..076bf5a 100644 --- a/testpar/testphdf5.h +++ b/testpar/testphdf5.h @@ -48,7 +48,7 @@ /* Constants definitions */ #define DIM0 600 /* Default dataset sizes. */ -#define DIM1 800 /* Values are from a monitor pixel sizes */ +#define DIM1 1200 /* Values are from a monitor pixel sizes */ #define RANK 2 #define DATASETNAME1 "Data1" #define DATASETNAME2 "Data2" -- cgit v0.12