Fix deadlock in PP-PME balancing startup delay
authorSzilárd Páll <pall.szilard@gmail.com>
Wed, 22 Jan 2020 16:07:01 +0000 (17:07 +0100)
committerArtem Zhmurov <zhmurov@gmail.com>
Fri, 24 Jan 2020 15:39:03 +0000 (16:39 +0100)
commit133c12ee12284879ed75c910de3887bbc3dab68f
tree87986ed9ca0991ec27802d8146cac0013f2f4704
parentae597788bf2af00e290c158bce890055957e51e5
Fix deadlock in PP-PME balancing startup delay

The condition whether load balancing should start included a per-rank
computed fixed time-delay. Therefore different ranks could evaluate this
condition differently resulting in a deadlock.
This change fixes the deadlock by broadcasting the result of the time
delay check.

Fixes #3335

Change-Id: I39ebc7e99483a6837bdbd79e312148384c1966b3
docs/release-notes/2020/2020.1.rst
src/gromacs/ewald/pme_load_balancing.cpp