Check return codes when init'ing the paffinity framework to avoid segfaulting
This commit was SVN r21884.
Этот коммит содержится в:
родитель
2016a3180b
Коммит
7cc045f9c5
@ -297,8 +297,14 @@ opal_init(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* open the processor affinity base */
|
/* open the processor affinity base */
|
||||||
opal_paffinity_base_open();
|
if (OPAL_SUCCESS != (ret = opal_paffinity_base_open())) {
|
||||||
opal_paffinity_base_select();
|
error = "opal_paffinity_base_open";
|
||||||
|
goto return_error;
|
||||||
|
}
|
||||||
|
if (OPAL_SUCCESS != (ret = opal_paffinity_base_select())) {
|
||||||
|
error = "opal_paffinity_base_select";
|
||||||
|
goto return_error;
|
||||||
|
}
|
||||||
|
|
||||||
/* the memcpy component should be one of the first who get
|
/* the memcpy component should be one of the first who get
|
||||||
* loaded in order to make sure we ddo have all the available
|
* loaded in order to make sure we ddo have all the available
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user