]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Do not include <mpi.h> from config.h. 18215/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 10 Mar 2025 16:38:54 +0000 (10:38 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 11 Mar 2025 13:14:52 +0000 (07:14 -0600)
include/deal.II/base/config.h.in

index 799dbf6ccbf41e7059c11f288137d74058d726ce..865ccf190ae93c36813ae054cefc5f05a597713e 100644 (file)
@@ -659,16 +659,6 @@ _Pragma("GCC diagnostic pop")
  * Final inclusions:
  */
 
-/*
- * Some systems require including mpi.h before stdio.h which happens in
- * base/types.h and perhaps other places. So just include it unconditionally.
- */
-#if defined(DEAL_II_WITH_MPI)
-DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
-#  include <mpi.h>
-DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
-#endif
-
 /*
  * Include the boost version header to do a quick version check in case, by
  * accident, we have configured with one version of boost but are compiling

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.