1
1

Ensure we register the nidmap verbosity in mpirun, and add some debug

This commit was SVN r29042.
Этот коммит содержится в:
Ralph Castain 2013-08-18 23:40:32 +00:00
родитель b730c9540e
Коммит 9aebd7e281
2 изменённых файлов: 11 добавлений и 0 удалений

Просмотреть файл

@ -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,

Просмотреть файл

@ -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;
}