LLNL / ygm

Other
31 stars 22 forks source link

Hotfix/recursive double receive #147

Closed steiltre closed 1 year ago

steiltre commented 1 year ago

This hotfix addresses a bug experienced by @KIwabuchi in which recursive messages can enter a code path that attempts to receive the same MPI_Irecv multiple times.

steiltre commented 1 year ago

@rogerpearce I changed this fix to the version we talked about yesterday in which handle_next_receive() doesn't access or pop from m_recv_queue. Please review this new version to make sure I didn't miss something we discussed.