Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix bug in SMPI with permanent receive mode.
authorAugustin Degomme <augustin.degomme@imag.fr>
Thu, 11 Sep 2014 08:58:19 +0000 (10:58 +0200)
committerAugustin Degomme <augustin.degomme@imag.fr>
Thu, 11 Sep 2014 12:32:00 +0000 (14:32 +0200)
commit79bcf7d543aa95b4425f4a6791241978cd5233c7
tree14ca785dc5204323135c32f607cdf3a0b43d3bac
parent7b4a82f53216492d4eefe355fc4347e46336bf8c
Fix bug in SMPI with permanent receive mode.
Receive can be posted with a size exceding the asynchronous threshold, while corresponding send was posted with a smaller size.
This is legal in MPI, but caused SMPI to put one request in the large mailbox and the other one in the small mailbox, thus preventing matching of messages, and causing deadlocks
Probing is used now, in order to try to match a message in the other mailbox before the actual operation.
src/smpi/smpi_base.c