From 9aebd7e281aeb2284fe792225356f489fce3ba2e Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Sun, 18 Aug 2013 23:40:32 +0000 Subject: [PATCH] Ensure we register the nidmap verbosity in mpirun, and add some debug This commit was SVN r29042. --- orte/mca/ess/hnp/ess_hnp_module.c | 3 +++ orte/util/nidmap.c | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/orte/mca/ess/hnp/ess_hnp_module.c b/orte/mca/ess/hnp/ess_hnp_module.c index 820de382a5..8cea07e8e6 100644 --- a/orte/mca/ess/hnp/ess_hnp_module.c +++ b/orte/mca/ess/hnp/ess_hnp_module.c @@ -469,6 +469,9 @@ static int rte_init(void) free(contact_path); } + /* init the nidmap - just so we register that verbosity */ + orte_util_nidmap_init(NULL); + /* setup the global job and node arrays */ orte_job_data = OBJ_NEW(opal_pointer_array_t); if (ORTE_SUCCESS != (ret = opal_pointer_array_init(orte_job_data, diff --git a/orte/util/nidmap.c b/orte/util/nidmap.c index 13b5f960fc..7d0ecdde86 100644 --- a/orte/util/nidmap.c +++ b/orte/util/nidmap.c @@ -255,6 +255,10 @@ int orte_util_encode_nodemap(opal_byte_object_t *boptr, bool update) orte_job_t *daemons; orte_proc_t *dmn; + OPAL_OUTPUT_VERBOSE((2, orte_nidmap_output, + "%s orte:util:encode_nidmap", + ORTE_NAME_PRINT(ORTE_PROC_MY_NAME))); + /* if the daemon job has not been updated, then there is * nothing to send */ @@ -343,6 +347,10 @@ int orte_util_encode_nodemap(opal_byte_object_t *boptr, bool update) opal_dss.unload(&buf, (void**)&boptr->bytes, &boptr->size); OBJ_DESTRUCT(&buf); + OPAL_OUTPUT_VERBOSE((2, orte_nidmap_output, + "%s orte:util:build:daemon:nidmap packed %d bytes", + ORTE_NAME_PRINT(ORTE_PROC_MY_NAME), boptr->size)); + return ORTE_SUCCESS; }