]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
CMake: Adjust MPI error message
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 27 Jul 2013 12:23:29 +0000 (12:23 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 27 Jul 2013 12:23:29 +0000 (12:23 +0000)
git-svn-id: https://svn.dealii.org/trunk@30174 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/configure/configure_1_mpi.cmake

index 85de2a41c2ec721d2dc7ffe0911379e21545ef4a..2eb6bd3847771a695d08d83904aa1ca763d95992 100644 (file)
@@ -107,10 +107,15 @@ 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"
-    "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()
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.