odls components are handled only by daemon procs.
This commit was SVN r13316.
Этот коммит содержится в:
родитель
3488b394be
Коммит
35c1370a13
@ -310,16 +310,22 @@ int orte_init_stage1(bool infrastructure)
|
|||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ORTE_SUCCESS != (ret = orte_odls_base_open())) {
|
/* only daemon procs will execute this code */
|
||||||
ORTE_ERROR_LOG(ret);
|
if(orte_process_info.daemon){
|
||||||
error = "orte_odls_base_open";
|
if (ORTE_SUCCESS != (ret = orte_odls_base_open())) {
|
||||||
goto error;
|
ORTE_ERROR_LOG(ret);
|
||||||
|
error = "orte_odls_base_open";
|
||||||
|
goto error;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ORTE_SUCCESS != (ret = orte_odls_base_select())) {
|
/* only daemon procs will execute this code */
|
||||||
ORTE_ERROR_LOG(ret);
|
if(orte_process_info.daemon){
|
||||||
error = "orte_odls_base_select";
|
if (ORTE_SUCCESS != (ret = orte_odls_base_select())) {
|
||||||
goto error;
|
ORTE_ERROR_LOG(ret);
|
||||||
|
error = "orte_odls_base_select";
|
||||||
|
goto error;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ORTE_SUCCESS != (ret = orte_rmgr_base_open())) {
|
if (ORTE_SUCCESS != (ret = orte_rmgr_base_open())) {
|
||||||
|
@ -68,7 +68,10 @@ int orte_system_finalize(void)
|
|||||||
|
|
||||||
/* rmgr and odls close depend on wait/iof */
|
/* rmgr and odls close depend on wait/iof */
|
||||||
orte_rmgr_base_close();
|
orte_rmgr_base_close();
|
||||||
orte_odls_base_close();
|
/* only daemon procs will execute this code */
|
||||||
|
if(orte_process_info.daemon){
|
||||||
|
orte_odls_base_close();
|
||||||
|
}
|
||||||
orte_wait_finalize();
|
orte_wait_finalize();
|
||||||
orte_iof_base_close();
|
orte_iof_base_close();
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user