Skip to content

Commit f8065c9

Browse files
authored
Merge pull request #2413 from jjhursey/topic/v2.x/fix-dist-graph-coll
topo/base: Fix module reference in collective call
2 parents 0730b27 + d8f380f commit f8065c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ompi/mca/topo/base/topo_base_dist_graph_create.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
* Copyright (c) 2011-2013 Université Bordeaux 1
1111
* Copyright (c) 2014-2015 Research Organization for Information Science
1212
* and Technology (RIST). All rights reserved.
13+
* Copyright (c) 2016 IBM Corporation. All rights reserved.
1314
*/
1415

1516
#include "ompi_config.h"
@@ -115,7 +116,7 @@ int mca_topo_base_dist_graph_distribute(mca_topo_base_module_t* module,
115116

116117
err = comm->c_coll.coll_reduce_scatter_block( MPI_IN_PLACE, idx, 2,
117118
(ompi_datatype_t*)&ompi_mpi_int, MPI_SUM, comm,
118-
comm->c_coll.coll_allreduce_module);
119+
comm->c_coll.coll_reduce_scatter_block_module);
119120
/**
120121
* At this point in the indexes array we have:
121122
* - idx[0].in total number of IN edges

0 commit comments

Comments
 (0)