1
1

Allow other BTL to work even if they collide with regard to the exclusivity. The problem was

that by decreasing the btl_inuse if there was already a registered BTL we basically reset
the changes for this new BTL to register it's progress function, even if it was supposed to
handle another peer.

This commit was SVN r19080.
Этот коммит содержится в:
George Bosilca 2008-07-29 18:38:11 +00:00
родитель d45d728e8e
Коммит 2d8cbc6ade

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

@ -221,8 +221,10 @@ int mca_bml_r2_add_procs( size_t nprocs,
rc = btl->btl_add_procs(btl, n_new_procs, new_procs, btl_endpoints, reachable);
if(OMPI_SUCCESS != rc) {
free(btl_endpoints);
return rc;
/* This BTL has troubles adding the nodes. Let's continue maybe some other BTL
* can take care of this task.
*/
continue;
}
/* for each proc that is reachable - add the endpoint to the bml_endpoints array(s) */
@ -265,7 +267,6 @@ int mca_bml_r2_add_procs( size_t nprocs,
if(btl_endpoints[p] != NULL) {
btl->btl_del_procs(btl, 1, &proc, &btl_endpoints[p]);
}
btl_inuse--;
continue;
}
}