From f7458d7dabf93af693b26c3401231ff73c7e0358 Mon Sep 17 00:00:00 2001 From: maier Date: Sat, 9 Mar 2013 19:59:52 +0000 Subject: [PATCH] CMake: Change MPI error message to something meaningful git-svn-id: https://svn.dealii.org/trunk@28843 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/cmake/configure/configure_1_mpi.cmake | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/deal.II/cmake/configure/configure_1_mpi.cmake b/deal.II/cmake/configure/configure_1_mpi.cmake index 4655d82319..dd5bffa915 100644 --- a/deal.II/cmake/configure/configure_1_mpi.cmake +++ b/deal.II/cmake/configure/configure_1_mpi.cmake @@ -68,9 +68,11 @@ ENDMACRO() MACRO(FEATURE_MPI_ERROR_MESSAGE) MESSAGE(FATAL_ERROR "\n" "Could not find any suitable mpi library!\n" - "Please ensure that an mpi library is installed on your computer.\n" - "If the library is not at a default location, either provide some hints\n" - "for the autodetection, or set the relevant variables by hand in ccmake.\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" ) ENDMACRO() -- 2.39.5