Index: orte/orted/orted_comm.c =================================================================== --- orte/orted/orted_comm.c (revision 21248) +++ orte/orted/orted_comm.c (working copy) @@ -837,6 +837,7 @@ goto CLEANUP; } } else { + num_nodes = 0; /* count number of nodes */ for (i=0; i < orte_node_pool->size; i++) { if (NULL != opal_pointer_array_get_item(orte_node_pool, i)) {