In an MPI_IBCAST, we cannot shortcut if there's only 1 process.
cmr=v1.7.4:reviewer=brbarret:subject=Fix IBCAST for COMM_SELF -This line, and those below, will be ignored-- M c/ibcast.c This commit was SVN r30054.
Этот коммит содержится в:
родитель
71ec6c1617
Коммит
1448522d15
@ -72,13 +72,6 @@ int MPI_Ibcast(void *buffer, int count, MPI_Datatype datatype,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If there's only one node, or if the count is 0, we're done */
|
|
||||||
|
|
||||||
if ((OMPI_COMM_IS_INTRA(comm) && ompi_comm_size(comm) <= 1) ||
|
|
||||||
0 == count) {
|
|
||||||
return MPI_SUCCESS;
|
|
||||||
}
|
|
||||||
|
|
||||||
OPAL_CR_ENTER_LIBRARY();
|
OPAL_CR_ENTER_LIBRARY();
|
||||||
|
|
||||||
/* Invoke the coll component to perform the back-end operation */
|
/* Invoke the coll component to perform the back-end operation */
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user