]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Define MPI_COMM_NULL when not using MPI. 13273/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 20 Jan 2022 17:45:50 +0000 (10:45 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 20 Jan 2022 17:46:24 +0000 (10:46 -0700)
include/deal.II/base/mpi.h

index 43177039579dfbc5e43b013e9b8973b7e3ba78ee..68e2a96187571f6253d4cb4b425762d41676101c 100644 (file)
@@ -44,6 +44,9 @@ using MPI_Op       = int;
 #  ifndef MPI_COMM_SELF
 #    define MPI_COMM_SELF 0
 #  endif
+#  ifndef MPI_COMM_NULL
+#    define MPI_COMM_NULL 0
+#  endif
 #  ifndef MPI_REQUEST_NULL
 #    define MPI_REQUEST_NULL 0
 #  endif

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.