]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Disable MPI autodetection
authorMatthias Maier <tamiko@43-1.org>
Mon, 1 Jan 2018 19:33:47 +0000 (13:33 -0600)
committerMatthias Maier <tamiko@43-1.org>
Fri, 12 Jan 2018 21:14:05 +0000 (15:14 -0600)
cmake/configure/configure_1_mpi.cmake

index 8e8891a8c6d9fb9fa79371934c2fd223d90e7a3f..c69d1ee95ecd2e4fabb404e2d38a85fe0f71ee3b 100644 (file)
 ##
 ## ---------------------------------------------------------------------
 
+#
+# Never autodetect MPI support. This forces the user to explicitly enable
+# MPI support with -DWITH_MPI=ON (or -DDEAL_II_WITH_MPI=ON) on the command
+# line.
+#
+SET(DEAL_II_WITH_MPI OFF CACHE BOOL "")
+
 #
 # Configuration for mpi support:
 #

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.