Skip to content

Commit 561e7f6

Browse files
committed
vprotocol/pessimist: use internal ompi_* insted of MPI_*
1 parent 025fd8a commit 561e7f6

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)