summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1998-02-11 06:00:36 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1998-02-11 06:00:36 (GMT)
commit84bd17dca32e39a40f49c345c5881f4f1d436c19 (patch)
tree5ccce102071a6efd1dda55eea8fdc829243a9f84
parent3e72af4d29e1daba0d84ad95cbd7b8a95440fad2 (diff)
downloadhdf5-84bd17dca32e39a40f49c345c5881f4f1d436c19.zip
hdf5-84bd17dca32e39a40f49c345c5881f4f1d436c19.tar.gz
hdf5-84bd17dca32e39a40f49c345c5881f4f1d436c19.tar.bz2
[svn-r249] configure.in configure:
Changed default RUNTEST to 'mpi -np 1'. src/Makefile.in: Use $(RUNTEST) to run programs if enable-parallel is on.
-rwxr-xr-xconfigure6
-rw-r--r--configure.in6
-rw-r--r--src/Makefile.in2
3 files changed, 7 insertions, 7 deletions
diff --git a/configure b/configure
index 54a851a..0557966 100755
--- a/configure
+++ b/configure
@@ -1673,8 +1673,8 @@ EOF
EOF
PARALLEL_SRC='$(PARALLEL_SRC)'
- CFLAGS="$CFLAGS -I/foo/bar/parallel/include"
- CFLAGS="$CFLAGS -L/foo/bar/parallel/lib"
+ CFLAGS="$CFLAGS $MPI_INC"
+ CFLAGS="$CFLAGS $MPI_LIB"
echo $ac_n "checking for main in -lmpi""... $ac_c" 1>&6
echo "configure:1680: checking for main in -lmpi" >&5
ac_lib_var=`echo mpi'_'main | sed 'y%./+-%__p_%'`
@@ -1759,7 +1759,7 @@ EOF
else
echo "$ac_t""no" 1>&6
fi
- RUNTEST=mpirun
+ RUNTEST='mpirun -np 1'
;;
*)
diff --git a/configure.in b/configure.in
index 36951cb..ff1ed70 100644
--- a/configure.in
+++ b/configure.in
@@ -151,11 +151,11 @@ case "X-$PARALLEL" in
AC_DEFINE(PHDF5) dnl THIS WILL GO AWAY SHORTLY!!!
AC_DEFINE(HAVE_PARALLEL)
PARALLEL_SRC='$(PARALLEL_SRC)'
- CFLAGS="$CFLAGS -I/foo/bar/parallel/include"
- CFLAGS="$CFLAGS -L/foo/bar/parallel/lib"
+ CFLAGS="$CFLAGS $MPI_INC"
+ CFLAGS="$CFLAGS $MPI_LIB"
AC_CHECK_LIB(mpi,main) dnl Replace `main' with some function
AC_CHECK_LIB(mpio,main) dnl Replace `main' with some function
- RUNTEST=mpirun
+ RUNTEST='mpirun -np 1'
;;
*)
diff --git a/src/Makefile.in b/src/Makefile.in
index 66af462..44fa037 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -46,7 +46,7 @@ PRIVATE_HDR=H5private.h H5Aprivate.h H5ACprivate.h H5Bprivate.h \
# Number format detection
H5Tinit.c: H5detect
- ./H5detect >H5Tinit.c
+ $(RUNTEST) ./H5detect >H5Tinit.c
H5detect: H5detect.o
$(CC) $(CFLAGS) -o $@ H5detect.o