1
1

Per patch from Tetsuya Mishima, ensure the rank_file mapper accurately tracks number of nodes in the map

Refs trac:4594

This commit was SVN r31725.

The following Trac tickets were found above:
  Ticket 4594 --> https://svn.open-mpi.org/trac/ompi/ticket/4594
Этот коммит содержится в:
Ralph Castain 2014-05-13 14:36:25 +00:00
родитель 7afca329c2
Коммит f55c587a74

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

@ -14,6 +14,7 @@
* All rights reserved. * All rights reserved.
* Copyright (c) 2008 Voltaire. All rights reserved * Copyright (c) 2008 Voltaire. All rights reserved
* Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014 Intel, Inc. All rights reserved.
* *
* $COPYRIGHT$ * $COPYRIGHT$
* *
@ -247,6 +248,7 @@ static int orte_rmaps_rf_map(orte_job_t *jdata)
OBJ_RETAIN(node); OBJ_RETAIN(node);
opal_pointer_array_add(map->nodes, node); opal_pointer_array_add(map->nodes, node);
node->mapped = true; node->mapped = true;
++(jdata->map->num_nodes);
} }
proc = orte_rmaps_base_setup_proc(jdata, node, i); proc = orte_rmaps_base_setup_proc(jdata, node, i);
if ((node->slots < (int)node->num_procs) || if ((node->slots < (int)node->num_procs) ||