1
1

Clean up a few lingering references to "urm".

This commit was SVN r10765.
Этот коммит содержится в:
Ralph Castain 2006-07-12 21:01:21 +00:00
родитель 36ca7497d1
Коммит badd3f4acb
2 изменённых файлов: 17 добавлений и 17 удалений

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

@ -42,7 +42,7 @@
#include "orte/mca/rml/rml.h"
#include "orte/mca/soh/soh.h"
#include "orte/mca/rmgr/tbird/rmgr_urm.h"
#include "orte/mca/rmgr/tbird/rmgr_tbird.h"
static int orte_rmgr_tbird_query(void);
@ -158,21 +158,21 @@ static int orte_rmgr_tbird_allocate(orte_jobid_t jobid)
{
OPAL_TRACE(1);
return orte_ras_base_allocate(jobid, &mca_rmgr_tbird_component.urm_ras);
return orte_ras_base_allocate(jobid, &mca_rmgr_tbird_component.tbird_ras);
}
static int orte_rmgr_tbird_deallocate(orte_jobid_t jobid)
{
OPAL_TRACE(1);
return mca_rmgr_tbird_component.urm_ras->deallocate(jobid);
return mca_rmgr_tbird_component.tbird_ras->deallocate(jobid);
}
static int orte_rmgr_tbird_map(orte_jobid_t jobid)
{
OPAL_TRACE(1);
return mca_rmgr_tbird_component.urm_rmaps->map(jobid);
return mca_rmgr_tbird_component.tbird_rmaps->map(jobid);
}
static int orte_rmgr_tbird_launch(orte_jobid_t jobid)
@ -182,7 +182,7 @@ static int orte_rmgr_tbird_launch(orte_jobid_t jobid)
OPAL_TRACE(1);
if (ORTE_SUCCESS !=
(ret = mca_rmgr_tbird_component.urm_pls->launch(jobid))) {
(ret = mca_rmgr_tbird_component.tbird_pls->launch(jobid))) {
ORTE_ERROR_LOG(ret);
ret2 = orte_soh.set_job_soh(jobid, ORTE_JOB_STATE_ABORTED);
if (ORTE_SUCCESS != ret2) {
@ -211,7 +211,7 @@ static int orte_rmgr_tbird_terminate_job(orte_jobid_t jobid)
}
}
return mca_rmgr_tbird_component.urm_pls->terminate_job(jobid);
return mca_rmgr_tbird_component.tbird_pls->terminate_job(jobid);
}
static int orte_rmgr_tbird_terminate_proc(const orte_process_name_t* proc_name)
@ -228,7 +228,7 @@ static int orte_rmgr_tbird_terminate_proc(const orte_process_name_t* proc_name)
exit(1);
}
return mca_rmgr_tbird_component.urm_pls->terminate_proc(proc_name);
return mca_rmgr_tbird_component.tbird_pls->terminate_proc(proc_name);
}
@ -249,7 +249,7 @@ static int orte_rmgr_tbird_signal_job(orte_jobid_t jobid, int32_t signal)
}
}
return mca_rmgr_tbird_component.urm_pls->signal_job(jobid, signal);
return mca_rmgr_tbird_component.tbird_pls->signal_job(jobid, signal);
}
static int orte_rmgr_tbird_signal_proc(const orte_process_name_t* proc_name, int32_t signal)
@ -267,7 +267,7 @@ static int orte_rmgr_tbird_signal_proc(const orte_process_name_t* proc_name, int
return ORTE_SUCCESS;
}
return mca_rmgr_tbird_component.urm_pls->signal_proc(proc_name, signal);
return mca_rmgr_tbird_component.tbird_pls->signal_proc(proc_name, signal);
}
@ -415,12 +415,12 @@ static int orte_rmgr_tbird_spawn(
/*
* Perform resource discovery.
*/
if (mca_rmgr_tbird_component.urm_rds == false &&
if (mca_rmgr_tbird_component.tbird_rds == false &&
ORTE_SUCCESS != (rc = orte_rds_base_query())) {
ORTE_ERROR_LOG(rc);
return rc;
} else {
mca_rmgr_tbird_component.urm_rds = true;
mca_rmgr_tbird_component.tbird_rds = true;
}
/*

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

@ -18,10 +18,10 @@
/**
* @file
*
* Universal Resource Manager (URM)
* Universal Resource Manager (tbird)
*/
#ifndef ORTE_RMGR_URM_H
#define ORTE_RMGR_URM_H
#ifndef ORTE_RMGR_tbird_H
#define ORTE_RMGR_tbird_H
#include "orte/mca/rmgr/rmgr.h"
@ -30,7 +30,7 @@ extern "C" {
#endif
/**
* URM component structure -- add some stuff beyond what is in the
* tbird component structure -- add some stuff beyond what is in the
* normal rmgr component.
*/
struct orte_rmgr_tbird_component_t {
@ -48,9 +48,9 @@ struct orte_rmgr_tbird_component_t {
/** Convenience typedef */
typedef struct orte_rmgr_tbird_component_t orte_rmgr_tbird_component_t;
/** Global URM component */
/** Global tbird component */
OMPI_COMP_EXPORT extern orte_rmgr_tbird_component_t mca_rmgr_tbird_component;
/** Global URM module */
/** Global tbird module */
OMPI_COMP_EXPORT extern orte_rmgr_base_module_t orte_rmgr_tbird_module;
#if defined(c_plusplus) || defined(__cplusplus)