| # | Line 857 | Line 857 | if test x = x"$MPI_LIB"; then | |
|---|---|---|
| 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 | > | # absolute insanity if profiling libraries are required to get mpich to work |
| 861 | > | AC_CHECK_LIB(pmpich, MPI_Init, [MPI_LIB="-lpmpich -lmpich -lpmpich -lmpich"], [], |
| 862 | > | "-lmpich -lpmpich -lmpich") |
| 863 | fi | |
| 864 | if test x = x"$MPI_LIB"; then | |
| 865 | AC_CHECK_LIB(mpi, MPI_Init, [MPI_LIB="-lmpi"]) | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |