Mark Allan wrote:
After this non-blocking send, you need an MPI call to complete the operation. So, you're launching a bunch of non-blocking sends without completing them. Another approach is to use MPI_Probe on the receive side. You can then just send a message (without first sending its size). On the receive side, you MPI_Probe the message first to get its size, then allocate the buffer, and then MPI_Recv that same message into the allocated buffer.
|
- [OMPI users] Memory leak in my code Mark Allan
- Re: [OMPI users] Memory leak in my code Eugene Loh
- Re: [OMPI users] Memory leak in my code doriankrause
- Re: [OMPI users] Memory leak in my code Mark Allan