diff --git a/orte/mca/plm/base/plm_base_launch_support.c b/orte/mca/plm/base/plm_base_launch_support.c index 5c851da5bf..2614c93d14 100644 --- a/orte/mca/plm/base/plm_base_launch_support.c +++ b/orte/mca/plm/base/plm_base_launch_support.c @@ -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 */ diff --git a/orte/mca/rmaps/round_robin/rmaps_rr_assign.c b/orte/mca/rmaps/round_robin/rmaps_rr_assign.c index 81fa0b67b0..98e216c5a4 100644 --- a/orte/mca/rmaps/round_robin/rmaps_rr_assign.c +++ b/orte/mca/rmaps/round_robin/rmaps_rr_assign.c @@ -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,