1
1

odls components are handled only by daemon procs.

This commit was SVN r13316.
Этот коммит содержится в:
Rich Graham 2007-01-25 21:18:59 +00:00
родитель 3488b394be
Коммит 35c1370a13
2 изменённых файлов: 18 добавлений и 9 удалений

Просмотреть файл

@ -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();