|
|
@ -173,7 +173,7 @@ else
|
|
|
|
AC_LANG([C])
|
|
|
|
AC_LANG([C])
|
|
|
|
if test "X$MPICC" = "X" ; then
|
|
|
|
if test "X$MPICC" = "X" ; then
|
|
|
|
# This is our MPICC compiler preference: it will override ACX_MPI's first try.
|
|
|
|
# This is our MPICC compiler preference: it will override ACX_MPI's first try.
|
|
|
|
AC_CHECK_PROGS([MPICC],[mpxlc mpcc mpicc cc])
|
|
|
|
AC_CHECK_PROGS([MPICC],[mpxlc mpiicc mpcc mpicc cc])
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
ACX_MPI([], [AC_MSG_ERROR([[Cannot find any suitable MPI implementation for C]])])
|
|
|
|
ACX_MPI([], [AC_MSG_ERROR([[Cannot find any suitable MPI implementation for C]])])
|
|
|
|
|
|
|
|
|
|
|
@ -182,7 +182,7 @@ AC_LANG([Fortran])
|
|
|
|
|
|
|
|
|
|
|
|
if test "X$MPIFC" = "X" ; then
|
|
|
|
if test "X$MPIFC" = "X" ; then
|
|
|
|
# This is our MPIFC compiler preference: it will override ACX_MPI's first try.
|
|
|
|
# This is our MPIFC compiler preference: it will override ACX_MPI's first try.
|
|
|
|
AC_CHECK_PROGS([MPIFC],[mpxlf2003_r mpxlf2003 mpxlf95_r mpxlf90 mpf95 mpf90 mpifort mpif95 mpif90 ftn ])
|
|
|
|
AC_CHECK_PROGS([MPIFC],[mpxlf2003_r mpxlf2003 mpxlf95_r mpxlf90 mpiifort mpf95 mpf90 mpifort mpif95 mpif90 ftn ])
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
ACX_MPI([], [AC_MSG_ERROR([[Cannot find any suitable MPI implementation for Fortran]])])
|
|
|
|
ACX_MPI([], [AC_MSG_ERROR([[Cannot find any suitable MPI implementation for Fortran]])])
|
|
|
|