1
1

Fix the case where mpi_preconnect_oob=1 and

mpi_preconnect_oob_simultaneous > np.  Need to scale back
simultaneous to equal np in those cases.  Reviewed by Brian.

This commit fixes trac:1064.

This commit was SVN r15916.

The following Trac tickets were found above:
  Ticket 1064 --> https://svn.open-mpi.org/trac/ompi/ticket/1064
Этот коммит содержится в:
Rolf vandeVaart 2007-08-17 20:18:42 +00:00
родитель b9ea4c92e7
Коммит 797078115d

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

@ -129,6 +129,9 @@ ompi_init_preconnect_oob(void)
This limits any "flooding" effect that can occur with other
connection algorithms, which can overwhelm the out-of-band
connection system, leading to poor performance and hangs. */
if (world_size < simultaneous) {
simultaneous = world_size;
}
for (i = 1 ; i <= world_size / 2 ; i += simultaneous) {
for (j = 0 ; j < (size_t) simultaneous ; ++j) {
next = (world_rank + (i + j )) % world_size;