1
1
* Fix a typo introduced by the removal of the notifier framework
* Fix to flush the modex cached data correctly using the orte DB API.

This commit was SVN r26773.
Этот коммит содержится в:
Abhishek Kulkarni 2012-07-10 01:19:46 +00:00
родитель 2ca8292f46
Коммит eec5a28aa4
4 изменённых файлов: 7 добавлений и 4 удалений

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

@ -329,7 +329,7 @@ void orte_errmgr_base_proc_state_notify(orte_proc_state_t state, orte_process_na
case ORTE_PROC_STATE_TERMINATED: case ORTE_PROC_STATE_TERMINATED:
case ORTE_PROC_STATE_KILLED_BY_CMD: case ORTE_PROC_STATE_KILLED_BY_CMD:
case ORTE_PROC_STATE_SENSOR_BOUND_EXCEEDED: case ORTE_PROC_STATE_SENSOR_BOUND_EXCEEDED:
opal_output(0,, "%d: Process %s is dead.", opal_output(0, "%d: Process %s is dead.",
orte_process_info.pid, ORTE_JOBID_PRINT(proc->jobid)); orte_process_info.pid, ORTE_JOBID_PRINT(proc->jobid));
break; break;

3
orte/mca/ess/env/ess_env_module.c поставляемый
Просмотреть файл

@ -57,6 +57,7 @@
#include "orte/mca/rmaps/base/base.h" #include "orte/mca/rmaps/base/base.h"
#if OPAL_ENABLE_FT_CR == 1 #if OPAL_ENABLE_FT_CR == 1
#include "orte/mca/snapc/base/base.h" #include "orte/mca/snapc/base/base.h"
#include "orte/mca/db/db.h"
#endif #endif
#include "orte/mca/filem/base/base.h" #include "orte/mca/filem/base/base.h"
#include "orte/util/proc_info.h" #include "orte/util/proc_info.h"
@ -406,7 +407,7 @@ static int rte_ft_event(int state)
exit_status = ret; exit_status = ret;
goto cleanup; goto cleanup;
} }
if (ORTE_SUCCESS != (ret = orte_grpcomm.purge_proc_attrs())) { if (ORTE_SUCCESS != (ret = orte_db.remove(NULL, NULL))) {
ORTE_ERROR_LOG(ret); ORTE_ERROR_LOG(ret);
exit_status = ret; exit_status = ret;
goto cleanup; goto cleanup;

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

@ -46,6 +46,7 @@
#include "orte/mca/rmaps/rmaps_types.h" #include "orte/mca/rmaps/rmaps_types.h"
#include "orte/mca/plm/plm.h" #include "orte/mca/plm/plm.h"
#include "orte/mca/grpcomm/grpcomm.h" #include "orte/mca/grpcomm/grpcomm.h"
#include "orte/mca/db/db.h"
#include "orte/runtime/orte_wait.h" #include "orte/runtime/orte_wait.h"
#include "orte/mca/errmgr/errmgr.h" #include "orte/mca/errmgr/errmgr.h"
#include "orte/mca/errmgr/base/base.h" #include "orte/mca/errmgr/base/base.h"
@ -513,7 +514,7 @@ int global_coord_end_ckpt(orte_snapc_base_quiesce_t *datum)
if( currently_migrating ) { if( currently_migrating ) {
OPAL_OUTPUT_VERBOSE((10, mca_snapc_full_component.super.output_handle, OPAL_OUTPUT_VERBOSE((10, mca_snapc_full_component.super.output_handle,
"Global) End Ckpt: Flush the modex cached data\n")); "Global) End Ckpt: Flush the modex cached data\n"));
if (ORTE_SUCCESS != (ret = orte_grpcomm.purge_proc_attrs())) { if (ORTE_SUCCESS != (ret = orte_db.remove(NULL, NULL))) {
ORTE_ERROR_LOG(ret); ORTE_ERROR_LOG(ret);
exit_status = ret; exit_status = ret;
goto cleanup; goto cleanup;

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

@ -64,6 +64,7 @@
#include "orte/mca/errmgr/errmgr.h" #include "orte/mca/errmgr/errmgr.h"
#include "orte/mca/routed/routed.h" #include "orte/mca/routed/routed.h"
#include "orte/mca/grpcomm/grpcomm.h" #include "orte/mca/grpcomm/grpcomm.h"
#include "orte/mca/db/db.h"
#include "orte/mca/snapc/snapc.h" #include "orte/mca/snapc/snapc.h"
#include "orte/mca/snapc/base/base.h" #include "orte/mca/snapc/base/base.h"
@ -1794,7 +1795,7 @@ static void snapc_full_local_comm_read_event(int fd, short flags, void *arg)
if( currently_migrating && !flushed_modex ) { if( currently_migrating && !flushed_modex ) {
OPAL_OUTPUT_VERBOSE((10, mca_snapc_full_component.super.output_handle, OPAL_OUTPUT_VERBOSE((10, mca_snapc_full_component.super.output_handle,
"Local) Read Event: Flush the modex cached data\n")); "Local) Read Event: Flush the modex cached data\n"));
if (ORTE_SUCCESS != (ret = orte_grpcomm.purge_proc_attrs())) { if (ORTE_SUCCESS != (ret = orte_db.remove(NULL, NULL))) {
ORTE_ERROR_LOG(ret); ORTE_ERROR_LOG(ret);
exit_status = ret; exit_status = ret;
goto cleanup; goto cleanup;