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

"MPI_Send" should be "MPI_Sendrecv" at miniMD/kokkos/comm.cpp:334 #10

Closed
lukebroskop opened this issue Mar 7, 2020 · 1 comment
Closed

Comments

@lukebroskop
Copy link

lukebroskop commented Mar 7, 2020

Function call should be changed from "MPI_Send" to "MPI_Sendrecv" at miniMD/kokkos/comm.cpp:334

333      MPI_Datatype type = (sizeof(MMD_float) == 4) ? MPI_FLOAT : MPI_DOUBLE;
334      MPI_Send(buf_send.data(), reverse_send_size[iswap], type, recvproc[iswap], 0,
335               buf_recv.data(), reverse_recv_size[iswap], type, sendproc[iswap], 0,
336               MPI_COMM_WORLD, MPI_STATUS_IGNORE);
337
338      buf = buf_recv;
339    } else buf = buf_send;
@lukebroskop
Copy link
Author

Thanks, the issue is resolved.

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

No branches or pull requests

1 participant