1
1

Have DUP pass a preferred coll module when making the new

communicator. 

This commit was SVN r1696.
Этот коммит содержится в:
Jeff Squyres 2004-07-13 20:50:59 +00:00
родитель 817b5678d3
Коммит 16f7e613f6
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -127,7 +127,7 @@ ompi_communicator_t * ompi_comm_set ( ompi_communicator_t* oldcomm,
/* Initialize the coll modules */
/* Let the collectives modules fight over who will do
collective on this new comm. */
if (OMPI_ERROR == mca_coll_base_comm_select(newcomm, NULL)) {
if (OMPI_ERROR == mca_coll_base_comm_select(newcomm, collmodule)) {
goto err_exit;
}

Просмотреть файл

@ -59,7 +59,7 @@ int MPI_Comm_dup(MPI_Comm comm, MPI_Comm *newcomm) {
rprocs, /* remote_procs */
comp->c_keyhash, /* attrs */
comp->error_handler, /* error handler */
NULL, /* coll module,t.b.d */
(mca_base_module_t*) comp->c_coll_selected_module, /* coll module,t.b.d */
NULL /* topo module, t.b.d */
);