Skip to content

Commit

Permalink
sessions: fixes to compile hcoll component
Browse files Browse the repository at this point in the history
Signed-off-by: Howard Pritchard <howardp@lanl.gov>
  • Loading branch information
hppritcha committed Jul 6, 2021
1 parent eeaba35 commit 1e86fd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ompi/mca/coll/hcoll/coll_hcoll_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ mca_coll_hcoll_comm_query(struct ompi_communicator_t *comm, int *priority)
hcoll_module->comm = comm;

HCOL_VERBOSE(10,"Creating hcoll_context for comm %p, comm_id %d, comm_size %d",
(void*)comm,comm->c_contextid,ompi_comm_size(comm));
(void*)comm,comm->c_index,ompi_comm_size(comm));

hcoll_module->hcoll_context =
hcoll_create_context((rte_grp_handle_t)comm);
Expand Down
2 changes: 1 addition & 1 deletion ompi/mca/coll/hcoll/coll_hcoll_rte.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ static uint32_t jobid(void){
}

static int group_id(rte_grp_handle_t group){
return ((ompi_communicator_t *)group)->c_contextid;
return ((ompi_communicator_t *)group)->c_index;
}

static int
Expand Down

0 comments on commit 1e86fd8

Please sign in to comment.