Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Commit 32e4695

Browse files
committed
vprotocol/pessimist: use internal ompi_* insted of MPI_*
(cherry picked from commit open-mpi/ompi@561e7f6)
1 parent e9dfd5f commit 32e4695

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/vprotocol/pessimist/vprotocol_pessimist_eventlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ int vprotocol_pessimist_event_logger_connect(int el_rank, ompi_communicator_t **
4747
}
4848

4949
/* Send Rank, receive max buffer size and max_clock back */
50-
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
50+
rank = ompi_comm_rank(&ompi_mpi_comm_world.comm);
5151
rc = mca_pml_v.host_pml.pml_send(&rank, 1, MPI_INTEGER, 0,
5252
VPROTOCOL_PESSIMIST_EVENTLOG_NEW_CLIENT_CMD,
5353
MCA_PML_BASE_SEND_STANDARD,

0 commit comments

Comments
 (0)