1
1

Add pls_rsh_agent synonym to the PLM rsh component

This commit was SVN r19119.
Этот коммит содержится в:
Ralph Castain 2008-08-01 20:15:42 +00:00
родитель 1a3045ff81
Коммит 21cd4b9df8
2 изменённых файлов: 5 добавлений и 12 удалений

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

@ -73,7 +73,6 @@ struct orte_plm_rsh_component_t {
char** agent_argv; char** agent_argv;
int agent_argc; int agent_argc;
char* agent_path; char* agent_path;
char* orted;
bool tree_spawn; bool tree_spawn;
opal_list_t children; opal_list_t children;
orte_std_cntr_t num_children; orte_std_cntr_t num_children;

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

@ -128,10 +128,6 @@ int orte_plm_rsh_component_open(void)
"Disable the launcher to use qrsh when under the SGE parallel environment", "Disable the launcher to use qrsh when under the SGE parallel environment",
false, false, false, &tmp); false, false, false, &tmp);
mca_plm_rsh_component.disable_qrsh = OPAL_INT_TO_BOOL(tmp); mca_plm_rsh_component.disable_qrsh = OPAL_INT_TO_BOOL(tmp);
mca_base_param_reg_string(c, "orted",
"The command name that the rsh plm component will invoke for the ORTE daemon",
false, false, "orted",
&mca_plm_rsh_component.orted);
mca_base_param_reg_int(c, "priority", mca_base_param_reg_int(c, "priority",
"Priority of the rsh plm component", "Priority of the rsh plm component",
@ -146,11 +142,12 @@ int orte_plm_rsh_component_open(void)
false, false, 1, &tmp); false, false, 1, &tmp);
mca_plm_rsh_component.assume_same_shell = OPAL_INT_TO_BOOL(tmp); mca_plm_rsh_component.assume_same_shell = OPAL_INT_TO_BOOL(tmp);
mca_base_param_reg_string(c, "agent", tmp = mca_base_param_reg_string(c, "agent",
"The command used to launch executables on remote nodes (typically either \"ssh\" or \"rsh\")", "The command used to launch executables on remote nodes (typically either \"ssh\" or \"rsh\")",
false, false, "ssh : rsh", false, false, "ssh : rsh", NULL);
&mca_plm_rsh_component.agent_param); mca_base_param_reg_syn_name(tmp, "pls", "rsh_agent", true);
mca_base_param_lookup_string(tmp, &mca_plm_rsh_component.agent_param);
mca_base_param_reg_int(c, "tree_spawn", mca_base_param_reg_int(c, "tree_spawn",
"If set to 1, launch via a tree-based topology", "If set to 1, launch via a tree-based topology",
false, false, (int)false, &tmp); false, false, (int)false, &tmp);
@ -266,9 +263,6 @@ int orte_plm_rsh_component_close(void)
OBJ_DESTRUCT(&mca_plm_rsh_component.lock); OBJ_DESTRUCT(&mca_plm_rsh_component.lock);
OBJ_DESTRUCT(&mca_plm_rsh_component.cond); OBJ_DESTRUCT(&mca_plm_rsh_component.cond);
OBJ_DESTRUCT(&mca_plm_rsh_component.children); OBJ_DESTRUCT(&mca_plm_rsh_component.children);
if (NULL != mca_plm_rsh_component.orted) {
free(mca_plm_rsh_component.orted);
}
if (NULL != mca_plm_rsh_component.agent_param) { if (NULL != mca_plm_rsh_component.agent_param) {
free(mca_plm_rsh_component.agent_param); free(mca_plm_rsh_component.agent_param);
} }