From b06d79d4fe5e8edd3a46f71ed64242e0329c88a1 Mon Sep 17 00:00:00 2001 From: Rainer Keller Date: Tue, 20 Dec 2005 15:59:17 +0000 Subject: [PATCH] - Seems with change r7664, the mapping has slightly changed. In case of checking for Shell with --mca pls_rsh_assume_same_shell 0 have the node point to sensible values. This commit was SVN r8563. The following SVN revision numbers were found above: r7664 --> open-mpi/ompi@0629cdc2d7fa6d410ec5255b4fef9e1b6b8983af --- orte/mca/pls/rsh/pls_rsh_module.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/orte/mca/pls/rsh/pls_rsh_module.c b/orte/mca/pls/rsh/pls_rsh_module.c index 001b14f172..fc511331de 100644 --- a/orte/mca/pls/rsh/pls_rsh_module.c +++ b/orte/mca/pls/rsh/pls_rsh_module.c @@ -459,7 +459,9 @@ int orte_pls_rsh_launch(orte_jobid_t jobid) } else { orte_pls_rsh_shell shell; orte_rmaps_base_map_t* map = (orte_rmaps_base_map_t*)opal_list_get_first(&mapping); - orte_ras_node_t* node = (orte_ras_node_t*)opal_list_get_first(&map->nodes); + orte_rmaps_base_node_t* rmaps_node = + (orte_rmaps_base_node_t*)opal_list_get_first(&map->nodes); + orte_ras_node_t* node = rmaps_node->node; rc = orte_pls_rsh_probe(node, &shell);