From 052638dbc8e010f500c83074b7237ea150ab8262 Mon Sep 17 00:00:00 2001 From: Scot Breitenfeld Date: Wed, 28 Jan 2015 10:01:23 -0500 Subject: [PATCH] [svn-r26062] Changed the fortran test back from "USE mpi" to "include "mpif.h"". Using the module causes problems on the Cray (hopper). --- configure | 2 +- m4/aclocal_fc.m4 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index f56da495b3..5fddb6fa3b 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 806d9c5434..64c115a0ab 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],