- Error logging is really not yet enabled.
- Correct the error log for orte_errmgr_base_select - Spelling fixes This commit was SVN r12135.
Этот коммит содержится в:
родитель
ed83927025
Коммит
3f88937081
@ -111,6 +111,7 @@ typedef int (*orte_gpr_base_module_stop_compound_cmd_fn_t)(void);
|
|||||||
* executed. Failure of any command contained in the compound command will terminate
|
* executed. Failure of any command contained in the compound command will terminate
|
||||||
* execution of the compound command list and return an error to the caller.
|
* execution of the compound command list and return an error to the caller.
|
||||||
*
|
*
|
||||||
|
* @param none
|
||||||
* @retval ORTE_SUCCESS All commands in the list were successfully executed.
|
* @retval ORTE_SUCCESS All commands in the list were successfully executed.
|
||||||
* @retval ORTE_ERROR(s) A command in the list failed, returning the indicated
|
* @retval ORTE_ERROR(s) A command in the list failed, returning the indicated
|
||||||
* error code.
|
* error code.
|
||||||
@ -123,7 +124,8 @@ typedef int (*orte_gpr_base_module_stop_compound_cmd_fn_t)(void);
|
|||||||
typedef int (*orte_gpr_base_module_exec_compound_cmd_fn_t)(void);
|
typedef int (*orte_gpr_base_module_exec_compound_cmd_fn_t)(void);
|
||||||
|
|
||||||
|
|
||||||
/* Cleanup a job from the registry
|
/*
|
||||||
|
* Cleanup a job from the registry
|
||||||
* Remove all references to a given job from the registry. This includes removing
|
* Remove all references to a given job from the registry. This includes removing
|
||||||
* all segments "owned" by the job, and removing all process names from dictionaries
|
* all segments "owned" by the job, and removing all process names from dictionaries
|
||||||
* in the registry.
|
* in the registry.
|
||||||
@ -140,7 +142,8 @@ typedef int (*orte_gpr_base_module_exec_compound_cmd_fn_t)(void);
|
|||||||
*/
|
*/
|
||||||
typedef int (*orte_gpr_base_module_cleanup_job_fn_t)(orte_jobid_t jobid);
|
typedef int (*orte_gpr_base_module_cleanup_job_fn_t)(orte_jobid_t jobid);
|
||||||
|
|
||||||
/* Cleanup a process from the registry
|
/*
|
||||||
|
* Cleanup a process from the registry
|
||||||
* Remove all references to a given process from the registry. This includes removing
|
* Remove all references to a given process from the registry. This includes removing
|
||||||
* the process name from all dictionaries in the registry, all subscriptions, etc.
|
* the process name from all dictionaries in the registry, all subscriptions, etc.
|
||||||
* It also includes reducing any synchros on the job segment.
|
* It also includes reducing any synchros on the job segment.
|
||||||
|
@ -79,13 +79,11 @@ int orte_init_stage1(bool infrastructure)
|
|||||||
orte_jobid_t my_jobid;
|
orte_jobid_t my_jobid;
|
||||||
orte_cellid_t my_cellid;
|
orte_cellid_t my_cellid;
|
||||||
|
|
||||||
/* register handler for errnum -> string converstion */
|
/* register handler for errnum -> string conversion */
|
||||||
opal_error_register("ORTE", ORTE_ERR_BASE, ORTE_ERR_MAX, orte_err2str);
|
opal_error_register("ORTE", ORTE_ERR_BASE, ORTE_ERR_MAX, orte_err2str);
|
||||||
|
|
||||||
/* Register all MCA Params */
|
/* Register all MCA Params */
|
||||||
/* AWF - uh, is ORTE_ERROR_LOG really available yet? */
|
|
||||||
if (ORTE_SUCCESS != (ret = orte_register_params(infrastructure))) {
|
if (ORTE_SUCCESS != (ret = orte_register_params(infrastructure))) {
|
||||||
ORTE_ERROR_LOG(ret);
|
|
||||||
error = "orte_register_params";
|
error = "orte_register_params";
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
@ -112,7 +110,6 @@ int orte_init_stage1(bool infrastructure)
|
|||||||
* Initialize the data storage service.
|
* Initialize the data storage service.
|
||||||
*/
|
*/
|
||||||
if (ORTE_SUCCESS != (ret = orte_dss_open())) {
|
if (ORTE_SUCCESS != (ret = orte_dss_open())) {
|
||||||
ORTE_ERROR_LOG(ret);
|
|
||||||
error = "orte_dss_open";
|
error = "orte_dss_open";
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
@ -450,11 +447,11 @@ int orte_init_stage1(bool infrastructure)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* setup the errmgr
|
* setup the errmgr -- open has been done way before
|
||||||
*/
|
*/
|
||||||
if (ORTE_SUCCESS != (ret = orte_errmgr_base_select())) {
|
if (ORTE_SUCCESS != (ret = orte_errmgr_base_select())) {
|
||||||
ORTE_ERROR_LOG(ret);
|
ORTE_ERROR_LOG(ret);
|
||||||
error = "orte_smr_base_select";
|
error = "orte_errmgr_base_select";
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user