Skip to content

Conversation

@yosefe
Copy link
Contributor

@yosefe yosefe commented Mar 19, 2021

Use the API exposed by openucx/ucx#6232, to align with other transports in OpenMPI and not complain about leaks of non-blocking MPI requests.

Example of MPI program:

#include <mpi.h>

int main(int argc, char**argv) {
   MPI_Request req;
   int i = 0;

   MPI_Init(&argc, &argv);
   MPI_Irecv(&i, 1, MPI_INT, 0, 0, MPI_COMM_WORLD, &req); // not waited
   return MPI_Finalize();
}

Behavior before this PR:

$ mpirun -n 1 ./a.out 
[1616177111.163179] [host:128963:0]           mpool.c:44   UCX  WARN  object 0x155cec0 was not returned to mpool ucp_requests

Signed-off-by: Yossi Itigin <yosefe@mellanox.com>
@yosefe yosefe force-pushed the topic/pml-ucx-ignore-request-leak-by-default branch from 9ee96e9 to 6672d07 Compare March 19, 2021 18:06
@yosefe yosefe requested a review from hoopoepg March 20, 2021 10:46
@open-mpi open-mpi deleted a comment from yosefe Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants