]> https://gitweb.dealii.org/ - dealii.git/commit
add a barrier to avoid MPI race in ConsensusAlgorithm 8935/head
authorTimo Heister <timo.heister@gmail.com>
Mon, 21 Oct 2019 11:19:43 +0000 (13:19 +0200)
committerTimo Heister <timo.heister@gmail.com>
Mon, 21 Oct 2019 11:19:43 +0000 (13:19 +0200)
commit5bcf04365db318c3dc143b16d79cc28c2d27e6f1
tree354399c9db0aa3610815b7f3cc219dc746954c47
parent8475a8c33e7141630da06855fbdd38521d276967
add a barrier to avoid MPI race in ConsensusAlgorithm

As discussed in #8929, messages exchanged in this function can be mixed
up if called twice in succesion. Add a Barrier to make sure this won't
happen.
include/deal.II/base/mpi_compute_index_owner_internal.h

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.