1
1

add a small amount of debugging output

This commit was SVN r15483.
Этот коммит содержится в:
Tim Prins 2007-07-18 15:20:55 +00:00
родитель a6d04c60b4
Коммит e41f86dfe6

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

@ -228,12 +228,22 @@ orte_pls_base_module_t *orte_pls_rsh_component_init(int *priority)
component */
if (NULL == mca_pls_rsh_component.agent_argv ||
NULL == mca_pls_rsh_component.agent_argv[0]) {
if (mca_pls_rsh_component.debug) {
opal_output(0, "pls:rsh: unable to be used: cannot find the "
"launching agent. Looked for: %s\n",
mca_pls_rsh_component.agent_param);
}
return NULL;
}
mca_pls_rsh_component.agent_path =
opal_path_findv(mca_pls_rsh_component.agent_argv[0], X_OK,
environ, NULL);
if (NULL == mca_pls_rsh_component.agent_path) {
if (mca_pls_rsh_component.debug) {
opal_output(0, "pls:rsh: unable to be used: cannot find path "
"for launching agent \"%s\"\n",
mca_pls_rsh_component.agent_argv[0]);
}
return NULL;
}
*priority = mca_pls_rsh_component.priority;