From 44d11e7dc8c3b7aedd6bb9d7120beea985400215 Mon Sep 17 00:00:00 2001
From: Christian Godenschwager <christian.godenschwager@fau.de>
Date: Fri, 4 Aug 2017 15:16:40 +0200
Subject: [PATCH] [BUGFIX] Fix Gatherv specialization for std::string when
 compiling without MPI

---
 src/core/mpi/Gatherv.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/core/mpi/Gatherv.cpp b/src/core/mpi/Gatherv.cpp
index 4d32c99ab..d2576987d 100644
--- a/src/core/mpi/Gatherv.cpp
+++ b/src/core/mpi/Gatherv.cpp
@@ -39,6 +39,11 @@ namespace mpi {
 template<>
 std::vector< std::string > gatherv( const std::vector< std::string > & values, int recvRank, MPI_Comm comm )
 {
+   WALBERLA_NON_MPI_SECTION()
+   {
+      return std::vector< std::string >( values );
+   }
+
    mpi::SendBuffer sb;
    mpi::RecvBuffer rb;
    sb << values;
-- 
GitLab