We need to initialize the ODLS as they are the only one to define
the ORTE_DAEMON_CMD type. Which, unfortunately, is used all over the place. Without this, we get error: [msc01:12341] [0,0,0] ORTE_ERROR_LOG: Data pack failed in file ../../ompi-trunk/orte/dss/dss_pack.c at line 83 [msc01:12341] [0,0,0] ORTE_ERROR_LOG: Data pack failed in file ../../ompi-trunk/orte/dss/dss_pack.c at line 58 [msc01:12341] [0,0,0] ORTE_ERROR_LOG: Data pack failed in file ../../../../ompi-trunk/orte/mca/pls/base/pls_base_orted_cmds.c at line 136 This commit was SVN r13320.
Этот коммит содержится в:
родитель
0905dfdfba
Коммит
29597cf0c5
@ -311,21 +311,17 @@ int orte_init_stage1(bool infrastructure)
|
||||
}
|
||||
|
||||
/* 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_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_select())) {
|
||||
ORTE_ERROR_LOG(ret);
|
||||
error = "orte_odls_base_select";
|
||||
goto error;
|
||||
}
|
||||
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())) {
|
||||
|
@ -69,9 +69,7 @@ int orte_system_finalize(void)
|
||||
/* rmgr and odls close depend on wait/iof */
|
||||
orte_rmgr_base_close();
|
||||
/* only daemon procs will execute this code */
|
||||
if(orte_process_info.daemon){
|
||||
orte_odls_base_close();
|
||||
}
|
||||
orte_odls_base_close();
|
||||
orte_wait_finalize();
|
||||
orte_iof_base_close();
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user