Skip to content

Commit 61e900e

Browse files
committed
Fix typo calling allreduce with the allgather module.
That was causing CUDA collective to crash.
1 parent 394e23d commit 61e900e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/communicator/comm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ int ompi_comm_split_type (ompi_communicator_t *comm, int split_type, int key,
811811
tmp[3] = -key;
812812

813813
rc = comm->c_coll.coll_allreduce (MPI_IN_PLACE, &tmp, 4, MPI_INT, MPI_MAX, comm,
814-
comm->c_coll.coll_allgather_module);
814+
comm->c_coll.coll_allreduce_module);
815815
if (OPAL_UNLIKELY(OMPI_SUCCESS != rc)) {
816816
return rc;
817817
}

0 commit comments

Comments
 (0)