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;
|
||||
}
|
||||
|
||||
if (ORTE_SUCCESS != (ret = orte_odls_base_open())) {
|
||||
ORTE_ERROR_LOG(ret);
|
||||
error = "orte_odls_base_open";
|
||||
goto error;
|
||||
/* only daemon procs will execute this code */
|
||||
if(orte_process_info.daemon){
|
||||
if (ORTE_SUCCESS != (ret = orte_odls_base_open())) {
|
||||
ORTE_ERROR_LOG(ret);
|
||||
error = "orte_odls_base_open";
|
||||
goto error;
|
||||
}
|
||||
}
|
||||
|
||||
if (ORTE_SUCCESS != (ret = orte_odls_base_select())) {
|
||||
ORTE_ERROR_LOG(ret);
|
||||
error = "orte_odls_base_select";
|
||||
goto error;
|
||||
/* only daemon procs will execute this code */
|
||||
if(orte_process_info.daemon){
|
||||
if (ORTE_SUCCESS != (ret = orte_odls_base_select())) {
|
||||
ORTE_ERROR_LOG(ret);
|
||||
error = "orte_odls_base_select";
|
||||
goto error;
|
||||
}
|
||||
}
|
||||
|
||||
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 */
|
||||
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_iof_base_close();
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user