857 |
|
fi |
858 |
|
$as_unset ac_cv_lib_mpich_MPI_Init |
859 |
|
if test x = x"$MPI_LIB"; then |
860 |
< |
AC_CHECK_LIB(mpich, MPI_Init, [MPI_LIB="-lpmpich -lmpich"], [], |
861 |
< |
"-lpmpich") |
860 |
> |
AC_CHECK_LIB(pmpich, MPI_Init, [MPI_LIB="-lpmpich -lmpich -lpmpich -lmpich"], [], |
861 |
> |
[-lmpich -lpmpich -lmpich]) |
862 |
|
fi |
863 |
|
if test x = x"$MPI_LIB"; then |
864 |
|
AC_CHECK_LIB(mpi, MPI_Init, [MPI_LIB="-lmpi"]) |
866 |
|
$as_unset ac_cv_lib_mpi_MPI_Init |
867 |
|
if test x = x"$MPI_LIB"; then |
868 |
|
AC_CHECK_LIB(mpi, MPI_Init, [MPI_LIB="-lmpi -llam"], [], |
869 |
< |
"-llam") |
869 |
> |
[-llam]) |
870 |
|
fi |
871 |
|
$as_unset ac_cv_lib_mpi_MPI_Init |
872 |
|
if test x = x"$MPI_LIB"; then |