summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2015-01-28 15:01:23 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2015-01-28 15:01:23 (GMT)
commit052638dbc8e010f500c83074b7237ea150ab8262 (patch)
tree5d9262a04266e6be22cf1308afebe4990ba22352
parentbc0d6a1500b81d847ec2cc4d91b83b64063db221 (diff)
downloadhdf5-052638dbc8e010f500c83074b7237ea150ab8262.zip
hdf5-052638dbc8e010f500c83074b7237ea150ab8262.tar.gz
hdf5-052638dbc8e010f500c83074b7237ea150ab8262.tar.bz2
[svn-r26062] Changed the fortran test back from "USE mpi" to "include "mpif.h"". Using the module causes problems on the Cray (hopper).
-rwxr-xr-xconfigure2
-rw-r--r--m4/aclocal_fc.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index f56da49..5fddb6f 100755
--- a/configure
+++ b/configure
@@ -27959,7 +27959,7 @@ $as_echo_n "checking whether a simple MPI-IO Fortran program can be linked... "
cat > conftest.$ac_ext <<_ACEOF
PROGRAM main
- USE mpi
+ include "mpif.h"
INTEGER :: ierr
CALL mpi_file_open( ierr )
END
diff --git a/m4/aclocal_fc.m4 b/m4/aclocal_fc.m4
index 806d9c5..64c115a 100644
--- a/m4/aclocal_fc.m4
+++ b/m4/aclocal_fc.m4
@@ -268,7 +268,7 @@ dnl Try link a simple MPI program.
AC_MSG_CHECKING([whether a simple MPI-IO Fortran program can be linked])
AC_LINK_IFELSE([
PROGRAM main
- USE mpi
+ include "mpif.h"
INTEGER :: ierr
CALL mpi_file_open( ierr )
END],