Fix a bounds check that prevented some vpid resolution in certian launch scenarios.
Traced back to r20629. This commit was SVN r20675. The following SVN revision numbers were found above: r20629 --> open-mpi/ompi@dcff523244
Этот коммит содержится в:
родитель
8078bac53c
Коммит
6d79a0398d
@ -1032,7 +1032,7 @@ orte_pmap_t* orte_util_lookup_pmap(orte_process_name_t *proc)
|
||||
}
|
||||
|
||||
/* is this index in range? */
|
||||
if (jmap->pmap.size <= (int)proc->vpid+1) {
|
||||
if (jmap->pmap.size <= (int)proc->vpid) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user