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

Send/Recv to same rank #97

Open
Mellich opened this issue Oct 6, 2022 · 1 comment
Open

Send/Recv to same rank #97

Mellich opened this issue Oct 6, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@Mellich
Copy link
Contributor

Mellich commented Oct 6, 2022

Currently it is not possible to have the same source and destination rank for send/recv.
A possible replacement for this call may be a copy from or to stream to buffer the data manually.

@Mellich Mellich added the enhancement New feature or request label Oct 6, 2022
@Mellich
Copy link
Contributor Author

Mellich commented Oct 26, 2022

Copy from and to streams introduced in #100. So copy operations can be used as a replacement for send/recv now by copying data into a temporary buffer instead of sending it. For now this special case needs to be handled by the user code.

C++ API send and receive could be extended to do this automatically to clean up the user code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant