From a9501dcfc70057876748b95a15ac84e27ed4319a Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Mon, 5 Oct 2020 09:44:27 +0200 Subject: [PATCH] Disable compression in MPI::some_to_some --- include/deal.II/base/mpi.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/deal.II/base/mpi.h b/include/deal.II/base/mpi.h index dd886eecf7..19ae43725f 100644 --- a/include/deal.II/base/mpi.h +++ b/include/deal.II/base/mpi.h @@ -1160,7 +1160,8 @@ namespace Utilities if (rank_obj.first != my_proc) { const auto &rank = rank_obj.first; - buffers_to_send[i] = Utilities::pack(rank_obj.second); + buffers_to_send[i] = Utilities::pack(rank_obj.second, + /*allow_compression=*/false); const int ierr = MPI_Isend(buffers_to_send[i].data(), buffers_to_send[i].size(), MPI_CHAR, @@ -1205,7 +1206,9 @@ namespace Utilities Assert(received_objects.find(rank) == received_objects.end(), ExcInternalError( "I should not receive again from this rank")); - received_objects[rank] = Utilities::unpack(buffer); + received_objects[rank] = + Utilities::unpack(buffer, + /*allow_compression=*/false); } } -- 2.39.5