From dd978f6a96043120396365200f8616d253cd2e4a Mon Sep 17 00:00:00 2001 From: Gregor Weiss Date: Tue, 31 Oct 2023 12:44:32 +0100 Subject: [PATCH] DEFEATURE: remove redundant MPI_Barrier in NBX --- src/foam/meshes/polyMesh/CoherentMesh/nonblockConsensus.C | 1 - src/foam/meshes/polyMesh/CoherentMesh/nonblockConsensusI.H | 1 - 2 files changed, 2 deletions(-) diff --git a/src/foam/meshes/polyMesh/CoherentMesh/nonblockConsensus.C b/src/foam/meshes/polyMesh/CoherentMesh/nonblockConsensus.C index e30e004..3b0ff39 100644 --- a/src/foam/meshes/polyMesh/CoherentMesh/nonblockConsensus.C +++ b/src/foam/meshes/polyMesh/CoherentMesh/nonblockConsensus.C @@ -54,7 +54,6 @@ Foam::nonblockConsensus(const std::map& data) { int tag = 314159; bool barrier_activated = false; - MPI_Barrier(MPI_COMM_WORLD); std::vector issRequests{}; for (const auto& msg: data) { diff --git a/src/foam/meshes/polyMesh/CoherentMesh/nonblockConsensusI.H b/src/foam/meshes/polyMesh/CoherentMesh/nonblockConsensusI.H index 7d9057f..716339f 100644 --- a/src/foam/meshes/polyMesh/CoherentMesh/nonblockConsensusI.H +++ b/src/foam/meshes/polyMesh/CoherentMesh/nonblockConsensusI.H @@ -55,7 +55,6 @@ Foam::nonblockConsensus { int tag = 314159; bool barrier_activated = false; - MPI_Barrier(MPI_COMM_WORLD); std::vector issRequests{}; for (const auto& msg: data) {