Custom patch from Brice for the hwloc-1.2.2ompi distro, per an issue
that Chris Yeoh/IBM found. See the thread below for more info: http://www.open-mpi.org/community/lists/hwloc-devel/2011/11/2521.php This commit was SVN r25429.
Этот коммит содержится в:
родитель
fcee46b063
Коммит
886a9d589b
@ -342,6 +342,10 @@ hwloc_setup_distances_from_os_matrix(struct hwloc_topology *topology,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
hwloc_bitmap_free(set);
|
hwloc_bitmap_free(set);
|
||||||
|
if (root->depth >= objs[0]->depth) {
|
||||||
|
/* strange topology led us to find invalid relative depth, ignore */
|
||||||
|
return;
|
||||||
|
}
|
||||||
relative_depth = objs[0]->depth - root->depth; /* this assume that we have distances between objects of the same level */
|
relative_depth = objs[0]->depth - root->depth; /* this assume that we have distances between objects of the same level */
|
||||||
|
|
||||||
/* get the logical index offset, it's the min of all logical indexes */
|
/* get the logical index offset, it's the min of all logical indexes */
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user