-
Notifications
You must be signed in to change notification settings - Fork 303
Closed
Description
In the native path, ssend receiver sends ack to the sender via a direct tag match. When the sender sends multiple ssends to the receiver with the same tag, the reply is not guaranteed to match the original send.
The current multi-thread ssend tests in test/mpi/threads/pt2pt
is insufficient to catch this issue because the test doesn't really check the semantics of send -- difficult to check. The test passes as long as all the ssend gets ack'ed regardless of mismatching.
TODO
- make a test confirm this issue
* maybe we can send multiple messages both large and small all with the same tag, and measure the Wtime of the ssend. If sending small message takes longer than large message, then we know it is wrong.
❌ different threads contend and the timing isn't reliable.
Metadata
Metadata
Assignees
Labels
No labels