From 2e39d07cc834d32ab92d3cb80e03d34d2643984f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Sch=C3=B6berl?= Date: Wed, 5 Aug 2020 18:05:31 +0200 Subject: [PATCH] mpi constants for non-mpi --- libsrc/core/mpi_wrapper.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libsrc/core/mpi_wrapper.hpp b/libsrc/core/mpi_wrapper.hpp index b2e32731..bf9540a5 100644 --- a/libsrc/core/mpi_wrapper.hpp +++ b/libsrc/core/mpi_wrapper.hpp @@ -314,9 +314,10 @@ namespace ngcore static MPI_Comm MPI_COMM_WORLD = 12345, MPI_COMM_NULL = 10000; typedef int MPI_Op; + typedef int MPI_Datatype; typedef int MPI_Request; - enum { MPI_SUM = 0, MPI_MIN = 1, MPI_MAX = 2 }; + enum { MPI_SUM = 0, MPI_MIN = 1, MPI_MAX = 2, MPI_LOR = 4711 }; class NgMPI_Comm {