]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Disable compression in MPI::some_to_some 11001/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Mon, 5 Oct 2020 07:44:27 +0000 (09:44 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Mon, 5 Oct 2020 07:44:27 +0000 (09:44 +0200)
include/deal.II/base/mpi.h

index dd886eecf7de934c61af34e3fa1e8fd64a129e28..19ae43725f47e871b95c7d0d230451983d5af57c 100644 (file)
@@ -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<T>(buffer);
+            received_objects[rank] =
+              Utilities::unpack<T>(buffer,
+                                   /*allow_compression=*/false);
           }
       }
 

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.