Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using MPI_SendRecv instead of parity send/recv #28

Open
manaschai opened this issue Feb 12, 2018 · 0 comments
Open

Using MPI_SendRecv instead of parity send/recv #28

manaschai opened this issue Feb 12, 2018 · 0 comments

Comments

@manaschai
Copy link
Collaborator

manaschai commented Feb 12, 2018

In send_recv routine, we can use MPI_SendRecv to simplify (and perhaps speedup) the code performance by get rid of the 2-phase send/recv based on node parity.

However, using MPI_SendRecv makes the exact size of incoming message (to be fill in rbuffer) unknown until the actual arrival of the message. Therefore, rbuffer needs to be large enough for the incoming message. From what I understand, we just make rbuffer sufficiently large (must be larger than the incoming message).

The implementation of send_recv is currently used in mk_pqeq branch c7452b8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant