Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Previous commit exposes a bug in OpenMPI, switch algorithm for bcast to avoid it
authorAugustin Degomme <augustin.degomme@imag.fr>
Tue, 8 Jul 2014 15:26:15 +0000 (17:26 +0200)
committerAugustin Degomme <augustin.degomme@imag.fr>
Tue, 8 Jul 2014 15:26:15 +0000 (17:26 +0200)
commit3c151f598db2cf6750be02343f53004c53cb938e
treebe90ce36a699b45a99ce77627ea3ec82f791e95a
parent1cb4c0bd9b5f2248d99425ccdca8f41f1b0efea0
Previous commit exposes a bug in OpenMPI, switch algorithm for bcast to avoid it
The bug is that OpenMPI performs selection of algorithm based on the count on messages.
Or this count can be different from one process to another for bcast.
For example this test has a sender sending one element of 4096 bytes, and receivers receiving 1024 elements of 4 bytes
Yes, this is legal in MPI (but stupid ... but legal).
OpenMPI collective algorithm selector selects a different algorithm for these processes, thus deadlocking
buildtools/Cmake/AddTests.cmake