From ae1de4b270d31d1972c3b72d9a7da486a6f4faaa Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <schaller@strw.leidenuniv.nl> Date: Tue, 11 Sep 2018 15:12:57 +0200 Subject: [PATCH] Only register MPI types when compiling with MPI... --- src/proxy.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/proxy.c b/src/proxy.c index 94f0f7f5c9..1a395045bf 100644 --- a/src/proxy.c +++ b/src/proxy.c @@ -42,8 +42,10 @@ #include "error.h" #include "space.h" +#ifdef WITH_MPI /* MPI data type for the communications */ MPI_Datatype pcell_mpi_type; +#endif /** * @brief Exchange tags between nodes. -- GitLab