From 6e5fedeb04512455a49c15fb17eb757ff92f3661 Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Thu, 9 Jan 2014 18:17:14 +0000 Subject: [PATCH] Oops - add verbose output to inform that cannot default bind due to no cores detected Refs trac:4074 This commit was SVN r30185. The following Trac tickets were found above: Ticket 4074 --> https://svn.open-mpi.org/trac/ompi/ticket/4074 --- orte/mca/rmaps/base/rmaps_base_binding.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/orte/mca/rmaps/base/rmaps_base_binding.c b/orte/mca/rmaps/base/rmaps_base_binding.c index 63f550009d..0acae47967 100644 --- a/orte/mca/rmaps/base/rmaps_base_binding.c +++ b/orte/mca/rmaps/base/rmaps_base_binding.c @@ -157,6 +157,9 @@ static int bind_upwards(orte_job_t *jdata, */ if (!(OPAL_BIND_GIVEN & opal_hwloc_binding_policy) && HWLOC_TYPE_DEPTH_UNKNOWN == hwloc_get_type_depth(node->topology, HWLOC_OBJ_CORE)) { + opal_output_verbose(5, orte_rmaps_base_framework.framework_output, + "Unable to bind-to core by default on node %s as no cores detected", + node->name); continue; } @@ -331,6 +334,9 @@ static int bind_downwards(orte_job_t *jdata, */ if (!(OPAL_BIND_GIVEN & opal_hwloc_binding_policy) && HWLOC_TYPE_DEPTH_UNKNOWN == hwloc_get_type_depth(node->topology, HWLOC_OBJ_CORE)) { + opal_output_verbose(5, orte_rmaps_base_framework.framework_output, + "Unable to bind-to core by default on node %s as no cores detected", + node->name); continue; } @@ -507,6 +513,9 @@ static int bind_in_place(orte_job_t *jdata, */ if (!(OPAL_BIND_GIVEN & opal_hwloc_binding_policy) && HWLOC_TYPE_DEPTH_UNKNOWN == hwloc_get_type_depth(node->topology, HWLOC_OBJ_CORE)) { + opal_output_verbose(5, orte_rmaps_base_framework.framework_output, + "Unable to bind-to core by default on node %s as no cores detected", + node->name); continue; }