1
1

Resolve a user-reported problem where the ifislocal check would return false, but the node name is the same as the HNP's node name because we are on the same node.

This commit was SVN r20856.
Этот коммит содержится в:
Ralph Castain 2009-03-24 15:23:22 +00:00
родитель faca1aeeb9
Коммит 9564ab8cc3

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

@ -96,7 +96,8 @@ int orte_ras_base_node_insert(opal_list_t* nodes, orte_job_t *jdata)
* first position since it is the first one entered. We need to check to see
* if this node is the same as the HNP's node so we don't double-enter it
*/
if (opal_ifislocal(node->name)) {
if (0 == strcmp(node->name, hnp_node->name) ||
opal_ifislocal(node->name)) {
OPAL_OUTPUT_VERBOSE((5, orte_ras_base.ras_output,
"%s ras:base:node_insert updating HNP info to %ld slots",
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),