1
1

Add some useful debug to the heartbeat sensor

This commit was SVN r27994.
Этот коммит содержится в:
Ralph Castain 2013-01-31 18:01:13 +00:00
родитель 6a9d15da51
Коммит 166f512924

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

@ -130,6 +130,9 @@ static void sample(void)
/* if my HNP hasn't been defined yet, ignore - nobody listening yet */
if (ORTE_JOBID_INVALID == ORTE_PROC_MY_HNP->jobid ||
ORTE_VPID_INVALID == ORTE_PROC_MY_HNP->vpid) {
opal_output_verbose(1, orte_sensor_base.output,
"%s sensor:heartbeat: HNP is not defined",
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME));
return;
}
@ -227,6 +230,11 @@ static void recv_beats(int status, orte_process_name_t* sender,
char *component=NULL;
opal_buffer_t *buf;
opal_output_verbose(1, orte_sensor_base.output,
"%s received beat from %s",
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
ORTE_NAME_PRINT(sender));
/* if we are aborting or shutting down, ignore this */
if (orte_abnormal_term_ordered || orte_finalizing || !orte_initialized) {
return;