Further improve taskassignment exception handling
commit2bf4086ef9df40eb34e73362e8fab237caa0345f
authorMark Abraham <mark.j.abraham@gmail.com>
Thu, 28 Nov 2019 16:49:26 +0000 (28 17:49 +0100)
committerPaul Bauer <paul.bauer.q@gmail.com>
Sun, 1 Dec 2019 14:17:18 +0000 (1 15:17 +0100)
tree17c1c553746be8f23391b07085dafa53f2337f15
parent6d99340aaa26cb242a0e5b6ac30b67194c0b1552
Further improve taskassignment exception handling

It was still posssible that the exit() from one thread-MPI rank would
cut off another rank while the latter's error output before it
finished being written to the terminal stream.

This solution is still deficient in some aspects, but it will
always work on single-node testing (ie. including Jenkins) and
often work usefully in multi-node testing.

Change-Id: Ib41e012b9f56591c80046b44891dd77af5a2f938
src/gromacs/taskassignment/taskassignment.cpp