MESSAGE(FATAL_ERROR "\n"
"Could not find any suitable mpi library!\n"
"Please ensure that an mpi library is installed on your computer\n"
- "and set CMAKE_CXX_COMPILER and CMAKE_C_COMPILER to the appropriate mpi\n"
- "wrappers:\n"
- " $ CC=\".../mpicc\" CXX=\".../mpicxx\" cmake <...>\n"
- " $ cmake -DCMAKE_C_COMPILER=\".../mpicc\" -DCMAKE_CXX_COMPIER=\".../mpicxx\" <...>\n"
+ "and set CMAKE_CXX_COMPILER to the appropriate mpi wrappers:\n"
+ " $ CXX=\".../mpicxx\" cmake <...>\n"
+ " $ cmake -DCMAKE_CXX_COMPILER=\".../mpicxx\" <...>\n"
+ "Or with additional C and Fortran wrappers (recommended!):\n"
+ " $ CC=\".../mpicc\" CXX=\".../mpicxx\" F90=\".../mpif90\" cmake <...>\n"
+ " $ cmake -DCMAKE_C_COMPILER=\".../mpicc\"\\\n"
+ " -DCMAKE_CXX_COMPILER=\".../mpicxx\"\\\n"
+ " -DCMAKE_Fortran_COMPILER=\".../mpif90\"\\\n"
+ " <...>\n"
)
ENDMACRO()