From 561e7f6647c05cfe55da73d89933d01df6575041 Mon Sep 17 00:00:00 2001 From: Gilles Gouaillardet Date: Fri, 20 Nov 2015 13:31:18 +0900 Subject: [PATCH] vprotocol/pessimist: use internal ompi_* insted of MPI_* --- ompi/mca/vprotocol/pessimist/vprotocol_pessimist_eventlog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/mca/vprotocol/pessimist/vprotocol_pessimist_eventlog.c b/ompi/mca/vprotocol/pessimist/vprotocol_pessimist_eventlog.c index 2892c4da11..ce3c6b172b 100644 --- a/ompi/mca/vprotocol/pessimist/vprotocol_pessimist_eventlog.c +++ b/ompi/mca/vprotocol/pessimist/vprotocol_pessimist_eventlog.c @@ -47,7 +47,7 @@ int vprotocol_pessimist_event_logger_connect(int el_rank, ompi_communicator_t ** } /* Send Rank, receive max buffer size and max_clock back */ - MPI_Comm_rank(MPI_COMM_WORLD, &rank); + rank = ompi_comm_rank(&ompi_mpi_comm_world.comm); rc = mca_pml_v.host_pml.pml_send(&rank, 1, MPI_INTEGER, 0, VPROTOCOL_PESSIMIST_EVENTLOG_NEW_CLIENT_CMD, MCA_PML_BASE_SEND_STANDARD,