Skip to content

Commit 06438fa

Browse files
authored
Merge pull request #4717 from yosefe/topic/rmaps-map-print-fix-v3.1.x
We now add all nodes to the job data object when we map, so don't do it twice - for v3.1.x
2 parents 82b25b7 + 393f710 commit 06438fa

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

orte/mca/rmaps/base/rmaps_base_map_job.c

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -414,19 +414,6 @@ void orte_rmaps_base_map_job(int fd, short args, void *cbdata)
414414
}
415415

416416
if (!orte_get_attribute(&jdata->attributes, ORTE_JOB_FULLY_DESCRIBED, NULL, OPAL_BOOL)) {
417-
/* we didn't add the nodes to the node map as it would cause them to
418-
* be in a different order than on the backend if this is a dynamic
419-
* spawn (which means we may have started somewhere other than at
420-
* the beginning of the allocation) */
421-
for (i=0; i < orte_node_pool->size; i++) {
422-
if (NULL == (node = (orte_node_t*)opal_pointer_array_get_item(orte_node_pool, i))) {
423-
continue;
424-
}
425-
if (ORTE_FLAG_TEST(node, ORTE_NODE_FLAG_MAPPED)) {
426-
OBJ_RETAIN(node);
427-
opal_pointer_array_add(jdata->map->nodes, node);
428-
}
429-
}
430417
/* compute and save location assignments */
431418
if (ORTE_SUCCESS != (rc = orte_rmaps_base_assign_locations(jdata))) {
432419
ORTE_ERROR_LOG(rc);

0 commit comments

Comments
 (0)