Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Refactor MPI parcelport to use MPI_Wait instead of multiple MPI_Test calls #939
After thinking about that for a while. I don't think using the MPI_Wait* routines is feasible in our context. It might lead to even worse performance than our current busy wait approach (which turns out to be not that bad anyways) as parcels ready to send could pile pile while the handle_messages function is doing a MPI_Waitsome on the already sent requests. This can even lead to a deadlock in the situation where MPI_Waitsome waits on the header request from another locality but needs to send out parcels first to receive answers.