set orte_odls_base.components_available to false if no odls components are
available. Startup now works if no odls components are availble. This commit was SVN r13339.
Этот коммит содержится в:
родитель
3c5c8c3c4c
Коммит
f6c99d0207
@ -121,7 +121,14 @@ int orte_odls_base_open(void)
|
|||||||
&orte_odls_base.available_components, true)) {
|
&orte_odls_base.available_components, true)) {
|
||||||
return ORTE_ERROR;
|
return ORTE_ERROR;
|
||||||
}
|
}
|
||||||
orte_odls_base.components_available = true;
|
|
||||||
|
/* are there components available for use ? -
|
||||||
|
* orte_odls_base.available_components is always initialized */
|
||||||
|
if(0 < opal_list_get_size(&(orte_odls_base.available_components))) {
|
||||||
|
orte_odls_base.components_available = true;
|
||||||
|
} else {
|
||||||
|
orte_odls_base.components_available = false;
|
||||||
|
}
|
||||||
|
|
||||||
/* All done */
|
/* All done */
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user