Skip to content

Commit 70787d1

Browse files
committed
Merge pull request #1319 from hjelmn/osc_rdma_fix
osc/rdma: use correct endpoint for local state
2 parents 89c7fea + 49d2f44 commit 70787d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/osc/rdma/osc_rdma_component.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ static int allocate_state_shared (ompi_osc_rdma_module_t *module, void **base, s
627627
peer->state_handle = (mca_btl_base_registration_handle_t *) state_region->btl_handle_data;
628628
}
629629
peer->state = (osc_rdma_counter_t) ((uintptr_t) state_region->base + state_base + module->state_size * i);
630-
peer->state_endpoint = ompi_osc_rdma_peer_btl_endpoint (module, peer_rank);
630+
peer->state_endpoint = ompi_osc_rdma_peer_btl_endpoint (module, temp[0].rank);
631631
}
632632

633633
/* finish setting up the local peer structure */

0 commit comments

Comments
 (0)