Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
SMPI: enforce MPI message ordering. Fix #100 (hopefully)
authorAugustin Degomme <adegomme@users.noreply.github.com>
Sun, 30 Jan 2022 20:55:21 +0000 (21:55 +0100)
committerAugustin Degomme <adegomme@users.noreply.github.com>
Sun, 30 Jan 2022 20:55:29 +0000 (21:55 +0100)
commit1409071f3f26af4879d31ed7e5fdb3df445638fc
tree32dc89705626fa679e59b73b913726d6eb89d073
parent1f6a008d060e1ffc86348cfa7a9750688d871314
SMPI: enforce MPI message ordering. Fix #100 (hopefully)
This adds an id for each message, representing the amount of messages sent from one process to another with the same tag.
On receiver side, the number of received messages from each source/tag must be kept the same way and is compared to the message id.
If the count is not identical, the message is early and overtook another message, so don't match with it yet.
Hopefully this does not cause too much memory overhead, but it can be quite a lot in some cases.
todo: cleanup the way probes are handled
src/smpi/include/smpi_comm.hpp
src/smpi/include/smpi_request.hpp
src/smpi/mpi/smpi_comm.cpp
src/smpi/mpi/smpi_request.cpp