From 751b307df9208102042e205c360ef184c76f10fc Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Thu, 28 Oct 2010 12:19:30 -0500 Subject: [svn-r19694] Changed the default NPROCS from 3 to 6 for MPI tests. Tested: in jam only since that is that only parallel tests h5committest would have done. --- configure | 10 +++++----- configure.in | 14 +++++++------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/configure b/configure index 655e477..6e4f100 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Id: configure.in 19578 2010-10-11 22:15:54Z songyulu . +# From configure.in Id: configure.in 19666 2010-10-24 14:12:06Z hdftest . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.67 for HDF5 1.9.78. # @@ -7295,7 +7295,7 @@ $as_echo "$path/mpiexec" >&6; } RUNSERIAL="${RUNSERIAL:-none}" if test -z "$RUNPARALLEL"; then - RUNPARALLEL="$path/mpiexec -n \$\${NPROCS:=3}" + RUNPARALLEL="$path/mpiexec -n \$\${NPROCS:=6}" fi else { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 @@ -7341,7 +7341,7 @@ $as_echo "$path/mpiexec" >&6; } RUNSERIAL="${RUNSERIAL:-none}" if test -z "$RUNPARALLEL"; then - RUNPARALLEL="$path/mpiexec -n \$\${NPROCS:=2}" + RUNPARALLEL="$path/mpiexec -n \$\${NPROCS:=6}" fi else { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 @@ -25932,14 +25932,14 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu if test "X$PARALLEL" = "Xyes" -a -z "$RUNPARALLEL"; then for path in `echo $PATH | ${TR} ":" " "`; do if test -x $path/aprun; then - RUNPARALLEL="aprun -q -n \$\${NPROCS:=3}" + RUNPARALLEL="aprun -q -n \$\${NPROCS:=6}" break; fi done fi if test "X$PARALLEL" = "Xyes" -a -z "$RUNPARALLEL"; then - RUNPARALLEL="mpiexec -n \$\${NPROCS:=3}" + RUNPARALLEL="mpiexec -n \$\${NPROCS:=6}" fi ;; diff --git a/configure.in b/configure.in index 5a20beb..c75c4a7 100644 --- a/configure.in +++ b/configure.in @@ -694,9 +694,9 @@ dnl the executable name to run the executable on dnl multiple processors. For the serial library the dnl value will normally be the empty string. For dnl parallel library it should be something like -dnl `mpi -np $$NPROCS' where NPROCS will eventually -dnl contain the number of processors on which to run -dnl the executable (the double dollarsigns are to +dnl "mpiexec -n \$\${NPROCS:=6}" where NPROCS will +dnl eventually contain the number of processors on which +dnl to run the executable (the double dollarsigns are to dnl protect the expansion until make executes the dnl command). The value of this variable is dnl substituted in *.in files. @@ -738,7 +738,7 @@ case "$CC_BASENAME" in RUNSERIAL="${RUNSERIAL:-none}" if test -z "$RUNPARALLEL"; then - RUNPARALLEL="$path/mpiexec -n \$\${NPROCS:=3}" + RUNPARALLEL="$path/mpiexec -n \$\${NPROCS:=6}" fi else AC_MSG_RESULT([none]) @@ -792,7 +792,7 @@ if test "X$HDF_FORTRAN" = "Xyes"; then RUNSERIAL="${RUNSERIAL:-none}" if test -z "$RUNPARALLEL"; then - RUNPARALLEL="$path/mpiexec -n \$\${NPROCS:=2}" + RUNPARALLEL="$path/mpiexec -n \$\${NPROCS:=6}" fi else AC_MSG_RESULT([none]) @@ -2550,7 +2550,7 @@ case "X-$enable_parallel" in dnl Find the path where aprun is located. for path in `echo $PATH | ${TR} ":" " "`; do if test -x $path/aprun; then - RUNPARALLEL="aprun -q -n \$\${NPROCS:=3}" + RUNPARALLEL="aprun -q -n \$\${NPROCS:=6}" break; fi done @@ -2558,7 +2558,7 @@ case "X-$enable_parallel" in dnl Set RUNPARALLEL to mpiexec if not set yet. if test "X$PARALLEL" = "Xyes" -a -z "$RUNPARALLEL"; then - RUNPARALLEL="mpiexec -n \$\${NPROCS:=3}" + RUNPARALLEL="mpiexec -n \$\${NPROCS:=6}" fi ;; -- cgit v0.12