Merge pull request #8122 from jjhursey/v4.1-fix-cpulist
Fix cpu-list for non-uniform nodes
Этот коммит содержится в:
Коммит
5c16e968b1
@ -16,7 +16,7 @@
|
||||
* Copyright (c) 2013-2018 Intel, Inc. All rights reserved.
|
||||
* Copyright (c) 2014-2018 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* Copyright (c) 2016 IBM Corporation. All rights reserved.
|
||||
* Copyright (c) 2016-2020 IBM Corporation. All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -902,6 +902,8 @@ void orte_plm_base_daemon_topology(int status, orte_process_name_t* sender,
|
||||
orted_failed_launch = true;
|
||||
goto CLEANUP;
|
||||
}
|
||||
/* Apply any CPU filters (not preserved by the XML) */
|
||||
opal_hwloc_base_filter_cpus(topo);
|
||||
/* record the final topology */
|
||||
t->topo = topo;
|
||||
|
||||
@ -1252,6 +1254,8 @@ void orte_plm_base_daemon_callback(int status, orte_process_name_t* sender,
|
||||
opal_pointer_array_add(orte_node_topologies, t);
|
||||
daemon->node->topology = t;
|
||||
if (NULL != topo) {
|
||||
/* Apply any CPU filters (not preserved by the XML) */
|
||||
opal_hwloc_base_filter_cpus(topo);
|
||||
t->topo = topo;
|
||||
} else {
|
||||
/* nope - save the signature and request the complete topology from that node */
|
||||
|
@ -13,6 +13,7 @@
|
||||
* Copyright (c) 2013-2017 Intel, Inc. All rights reserved.
|
||||
* Copyright (c) 2015 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* Copyright (c) 2020 IBM Corporation. All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -120,6 +121,9 @@ int orte_rmaps_rr_assign_byobj(orte_job_t *jdata,
|
||||
/* get the number of objects of this type on this node */
|
||||
nobjs = opal_hwloc_base_get_nbobjs_by_type(node->topology->topo, target, cache_level, OPAL_HWLOC_AVAILABLE);
|
||||
if (0 == nobjs) {
|
||||
opal_output_verbose(2, orte_rmaps_base_framework.framework_output,
|
||||
"mca:rmaps:rr: found NO %s objects on node %s",
|
||||
hwloc_obj_type_string(target), node->name);
|
||||
continue;
|
||||
}
|
||||
opal_output_verbose(2, orte_rmaps_base_framework.framework_output,
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user