Bug #1616: Don't exit cputopology until reducer has been applied35/2735/2
commit6a393c85cd04e4f83bcc651d8253a853456efd3f
authorJuan Galvez <jjgalvez@illinois.edu>
Wed, 28 Jun 2017 20:22:09 +0000 (28 15:22 -0500)
committerPhil Miller <mille121@illinois.edu>
Thu, 29 Jun 2017 00:08:22 +0000 (28 19:08 -0500)
treeac3a6d4379f71d8089784469590e60a0f9961794
parent88182f557558f6752a5da548600bceba8d60f3ec
Bug #1616: Don't exit cputopology until reducer has been applied

For any given process, the worker threads that are supposed to reduce
and the comm thread won't exit cputopology until the reducer for
the second CmiReduce has been executed.

This guarantees that sending of messages corresponding to the CmiReduce
will happen even if worker threads eventually encounter a node barrier
after cputopology (since worker threads won't be needed anymore to
advance the reduction).

Change-Id: Id6d130e82fda245308f82205b00f5b5cf1988bc4
src/conv-core/cputopology.C