huttered40 / critter

Critical path analysis of MPI parallel programs
BSD 2-Clause "Simplified" License
2 stars 1 forks source link

Address concern of receiver critical path in blocking p2p #39

Closed huttered40 closed 4 years ago

huttered40 commented 4 years ago

Although I have always known that an MPI implementation may force a handshake between sending process and receiving process in blocking p2p communication, it was brought to my attention that perhaps this is more prevalent than I thought.

Therefore, I should give a constexpr global variable that the user can modify if necessary so that the receiving process will receive the critical paths of the sender. This will be an easy implementation, as all I need to do is branch in the MPI_Send and MPI_Recv interceptions on that global variable to use either start_synch or start_block.