Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ompi/communicator/comm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1887,6 +1887,10 @@ int ompi_comm_enable(ompi_communicator_t *old_comm,
{
int ret = OMPI_SUCCESS;

/* set the rank information before calling nextcid */
new_comm->c_local_group->grp_my_rank = new_rank;
new_comm->c_my_rank = new_rank;

/* Determine context id. It is identical to f_2_c_handle */
ret = ompi_comm_nextcid (new_comm, old_comm, NULL, NULL, NULL, false,
OMPI_COMM_CID_INTRA);
Expand Down