Skip to content

Commit 6618dcf

Browse files
committed
coll/ucc: replace contextid by function call
to retrieve the communicator context id. Makes the component compile again. Signed-off-by: Edgar Gabriel <edgar.gabriel1@outlook.com>
1 parent 6423914 commit 6618dcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/coll/ucc/coll_ucc_module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ static int mca_coll_ucc_module_enable(mca_coll_base_module_t *module,
391391
},
392392
.ep = ompi_comm_rank(comm),
393393
.ep_range = UCC_COLLECTIVE_EP_RANGE_CONTIG,
394-
.id = comm->c_contextid
394+
.id = ompi_comm_get_local_cid(comm)
395395
};
396396
UCC_VERBOSE(2,"creating ucc_team for comm %p, comm_id %d, comm_size %d",
397397
(void*)comm,comm->c_contextid,ompi_comm_size(comm));

0 commit comments

Comments
 (0)