1
1

make output use verbose macro..

This commit was SVN r17778.
Этот коммит содержится в:
Galen Shipman 2008-03-07 03:06:17 +00:00
родитель c230b65543
Коммит 0fb6cf0916
2 изменённых файлов: 12 добавлений и 12 удалений

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

@ -96,8 +96,8 @@ static orte_ras_base_module_t *ras_alps_init(int* priority)
if (NULL != getenv("BATCH_PARTITION_ID")) { if (NULL != getenv("BATCH_PARTITION_ID")) {
mca_base_param_lookup_int(param_priority, priority); mca_base_param_lookup_int(param_priority, priority);
opal_output(orte_ras_base.ras_output, OPAL_OUTPUT_VERBOSE((1, orte_ras_base.ras_output,
"ras:alps: available for selection"); "ras:alps: available for selection"));
return &orte_ras_alps_module; return &orte_ras_alps_module;
} }

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

@ -101,11 +101,11 @@ cleanup:
/* All done */ /* All done */
if (ORTE_SUCCESS == ret) { if (ORTE_SUCCESS == ret) {
opal_output(orte_ras_base.ras_output, OPAL_OUTPUT_VERBOSE((1, orte_ras_base.ras_output,
"ras:alps:allocate: success"); "ras:alps:allocate: success"));
} else { } else {
opal_output(orte_ras_base.ras_output, OPAL_OUTPUT_VERBOSE((1, orte_ras_base.ras_output,
"ras:alps:allocate: failure (base_allocate_nodes=%d)", ret); "ras:alps:allocate: failure (base_allocate_nodes=%d)", ret));
} }
return ret; return ret;
} }
@ -140,8 +140,8 @@ int orte_ras_alps_read_nodename_file(opal_list_t *nodes, char *filename)
} }
while (NULL != (hostname = ras_alps_getline(fp))) { while (NULL != (hostname = ras_alps_getline(fp))) {
opal_output(orte_ras_base.ras_output, OPAL_OUTPUT_VERBOSE((1, orte_ras_base.ras_output,
"ras:base:read_nodename: got hostname %s", hostname); "ras:alps:read_nodename: got hostname %s", hostname));
/* if this matches the prior nodename, then just add /* if this matches the prior nodename, then just add
* to the slot count * to the slot count
@ -155,8 +155,8 @@ int orte_ras_alps_read_nodename_file(opal_list_t *nodes, char *filename)
} }
/* must be a new name, so add a new item to the list */ /* must be a new name, so add a new item to the list */
opal_output(orte_ras_base.ras_output, OPAL_OUTPUT_VERBOSE((1, orte_ras_base.ras_output,
"ras:base:read_nodename: not found -- added to list"); "ras:alps:read_nodename: not found -- added to list"));
node = OBJ_NEW(orte_node_t); node = OBJ_NEW(orte_node_t);
node->name = hostname; node->name = hostname;
node->launch_id = nodeid; node->launch_id = nodeid;
@ -177,8 +177,8 @@ int orte_ras_alps_read_nodename_file(opal_list_t *nodes, char *filename)
*/ */
static int orte_ras_alps_finalize(void) static int orte_ras_alps_finalize(void)
{ {
opal_output(orte_ras_base.ras_output, OPAL_OUTPUT_VERBOSE((1, orte_ras_base.ras_output,
"ras:alps:finalize: success (nothing to do)"); "ras:alps:finalize: success (nothing to do)"));
return ORTE_SUCCESS; return ORTE_SUCCESS;
} }