-
Notifications
You must be signed in to change notification settings - Fork 2
remove C wrapper of MPI_Allreduce_scalar #87
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
Conversation
src/mpi.f90
Outdated
type(c_ptr) :: sendbuf_ptr, recvbuf_ptr, c_datatype, c_op, c_comm | ||
integer(c_int) :: local_ierr | ||
|
||
sendbuf_ptr = c_loc(sendbuf) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this doesn't handle the case when sendbuf
is sent as MPI_IN_PLACE
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this definitely needs handling of MPI_IN_PLACE
, without which POT3D will run into an infinite loop.
Thanks @adit4443ya for handling |
Yes !!, Let's Hope CI passes |
Yes, would you like to do that remaining work with this PR? That'll be great. |
i.e. to remove other variants of |
Yes i will do that MPI_Allreduce_scalar !Done in this PR
MPI_Allreduce_1d
MPI_Allreduce_array_int
MPI_Allreduce_array_real Scalar is being handled in this PR, |
Let me know how that sounds? |
Perfect, I merged this PR. |
No description provided.