1
1

Update these components to new dss

This commit was SVN r9004.
Этот коммит содержится в:
Ralph Castain 2006-02-13 15:28:29 +00:00
родитель ef83e692cc
Коммит bc6a82839d
2 изменённых файлов: 130 добавлений и 124 удалений

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

@ -48,6 +48,8 @@
#include "opal/util/opal_environ.h"
#include "opal/util/path.h"
#include "opal/util/show_help.h"
#include "orte/dss/dss.h"
#include "orte/util/sys_info.h"
#include "orte/mca/errmgr/errmgr.h"
#include "orte/mca/iof/iof.h"
@ -62,6 +64,7 @@
#include "orte/mca/soh/base/base.h"
#include "orte/runtime/orte_wait.h"
#include "orte/runtime/runtime.h"
#include "pls_bproc.h"
/**
@ -310,7 +313,7 @@ static void orte_pls_bproc_waitpid_daemon_cb(pid_t wpid, int status, void *data)
src[1] = WTERMSIG(status);
}
OBJ_CONSTRUCT(&ack, orte_buffer_t);
rc = orte_dps.pack(&ack, &src, 4, ORTE_INT);
rc = orte_dss.pack(&ack, &src, 4, ORTE_INT);
if(ORTE_SUCCESS != rc) {
ORTE_ERROR_LOG(rc);
}
@ -862,7 +865,7 @@ int orte_pls_bproc_launch(orte_jobid_t jobid) {
goto cleanup;
}
idx = 4;
rc = orte_dps.unpack(&ack, &src, &idx, ORTE_INT);
rc = orte_dss.unpack(&ack, &src, &idx, ORTE_INT);
if(ORTE_SUCCESS != rc) {
ORTE_ERROR_LOG(rc);
}

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

@ -34,6 +34,8 @@
#include "opal/util/os_create_dirpath.h"
#include "opal/util/os_path.h"
#include "opal/util/output.h"
#include "orte/dss/dss.h"
#include "orte/util/sys_info.h"
#include "orte/orte_constants.h"
#include "orte/mca/errmgr/errmgr.h"
@ -46,6 +48,7 @@
#include "orte/mca/rmaps/base/rmaps_base_map.h"
#include "orte/util/session_dir.h"
#include "orte/util/univ_info.h"
#include "pls_bproc_orted.h"
/**
@ -490,7 +493,7 @@ int orte_pls_bproc_orted_launch(orte_jobid_t jobid) {
/* message to indicate that we are ready */
ack = OBJ_NEW(orte_buffer_t);
rc = orte_dps.pack(ack, &src, 1, ORTE_INT);
rc = orte_dss.pack(ack, &src, 1, ORTE_INT);
if(ORTE_SUCCESS != rc) {
ORTE_ERROR_LOG(rc);
}