Minor cleanups courtesy of Nysal - thanks!
This commit was SVN r24552.
Этот коммит содержится в:
родитель
045035963a
Коммит
30981de200
@ -164,9 +164,11 @@ int orte_plm_rsh_component_query(mca_base_module_t **module, int *priority)
|
|||||||
"%s plm:rsh: unable to be used: SGE indicated but cannot find path "
|
"%s plm:rsh: unable to be used: SGE indicated but cannot find path "
|
||||||
"or execution permissions not set for launching agent qrsh",
|
"or execution permissions not set for launching agent qrsh",
|
||||||
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME));
|
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME));
|
||||||
*module = NULL;
|
free(tmp);
|
||||||
return ORTE_ERROR;
|
*module = NULL;
|
||||||
|
return ORTE_ERROR;
|
||||||
}
|
}
|
||||||
|
free(tmp);
|
||||||
mca_plm_rsh_component.using_qrsh = true;
|
mca_plm_rsh_component.using_qrsh = true;
|
||||||
*priority = mca_plm_rsh_component.priority;
|
*priority = mca_plm_rsh_component.priority;
|
||||||
*module = (mca_base_module_t *) &orte_plm_rsh_module;
|
*module = (mca_base_module_t *) &orte_plm_rsh_module;
|
||||||
|
@ -126,7 +126,7 @@ static int plm_slurm_init(void)
|
|||||||
ORTE_ERROR_LOG(rc);
|
ORTE_ERROR_LOG(rc);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ORTE_SUCCESS == orte_plm_base_rsh_launch_agent_setup()) {
|
if (ORTE_SUCCESS == orte_plm_base_rsh_launch_agent_setup(NULL, NULL)) {
|
||||||
local_launch_available = true;
|
local_launch_available = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user