summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2015-01-27 21:24:31 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2015-01-27 21:24:31 (GMT)
commit06587c6e91e234229d2c00274aae9312df282d3f (patch)
tree6e31b7c6029e95a5ce9e82c609e37d12c0d1aafd /configure.ac
parent4a10dbe01136ec99ff776a3ba677db959a465924 (diff)
downloadhdf5-06587c6e91e234229d2c00274aae9312df282d3f.zip
hdf5-06587c6e91e234229d2c00274aae9312df282d3f.tar.gz
hdf5-06587c6e91e234229d2c00274aae9312df282d3f.tar.bz2
[svn-r26057] Fix for: HDFFV-9094
change include 'mpif.h' to module in tests Solution: changed to 'USE mpi' and moved the tests to m4/aclocal_fc.m4 Tested: jam (mpicc, mpif90)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac18
1 files changed, 1 insertions, 17 deletions
diff --git a/configure.ac b/configure.ac
index 0bdeafd..088ced8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2390,23 +2390,7 @@ case "X-$enable_parallel" in
AC_MSG_ERROR([unable to link a simple MPI-IO C program])])
if test "X$HDF_FORTRAN" = "Xyes"; then
- ## Change to the Fortran 90 language
- AC_LANG_PUSH(Fortran)
-
- ## Try link a simple MPI program.
- AC_MSG_CHECKING([whether a simple MPI-IO Fortran program can be linked])
- AC_LINK_IFELSE([
- program main
- include 'mpif.h'
- integer:: ierr
- call mpi_file_open( ierr )
- end],
- [AC_MSG_RESULT([yes])],
- [AC_MSG_RESULT([no])
- AC_MSG_ERROR([unable to link a simple MPI-IO Fortran program])])
-
- ## Change to the C language
- AC_LANG_POP(Fortran)
+ PAC_PROG_FC_MPI_CHECK
fi
## Set RUNPARALLEL to mpiexec if not set yet.