1
1

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.
Этот коммит содержится в:
Jeff Squyres 2013-12-22 22:55:58 +00:00
родитель 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();
/* Invoke the coll component to perform the back-end operation */