]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Examples: Require MPI for step-18 4161/head
authorMatthias Maier <tamiko@43-1.org>
Thu, 30 Mar 2017 23:23:02 +0000 (18:23 -0500)
committerMatthias Maier <tamiko@43-1.org>
Thu, 30 Mar 2017 23:26:36 +0000 (18:26 -0500)
examples/step-18/CMakeLists.txt

index be073fbdca25f1e3cc4233f329914fc5a045eeeb..60f2d51a8ba3820a80165bd2f7f4d33e5a1391e7 100644 (file)
@@ -38,9 +38,10 @@ ENDIF ()
 #
 # Are all dependencies fulfilled?
 #
-IF(NOT DEAL_II_WITH_PETSC OR DEAL_II_PETSC_WITH_COMPLEX) # keep in one line
+IF(NOT DEAL_II_WITH_MPI OR NOT DEAL_II_WITH_PETSC OR DEAL_II_PETSC_WITH_COMPLEX) # keep in one line
   MESSAGE(FATAL_ERROR "
 Error! The deal.II library found at ${DEAL_II_PATH} was not configured with
+    DEAL_II_WITH_MPI = ON
     DEAL_II_WITH_PETSC = ON
     DEAL_II_PETSC_WITH_COMPLEX = OFF
 One or all of these are OFF in your installation but are required for this tutorial step."

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.