Improve verbose message which says which device:ports are being used. Also move where message is generated.
This commit was SVN r32261.
Этот коммит содержится в:
родитель
da18eb1b8b
Коммит
7897d2a828
@ -2090,6 +2090,12 @@ static int finish_btl_init(mca_btl_openib_module_t *openib_btl)
|
||||
openib_btl->super.btl_eager_limit,
|
||||
mca_btl_openib_component.buffer_alignment, size_t);
|
||||
|
||||
opal_output_verbose(1, ompi_btl_base_framework.framework_output,
|
||||
"[rank=%d] openib: using port %s:%d",
|
||||
ORTE_PROC_MY_NAME->vpid,
|
||||
ibv_get_device_name(openib_btl->device->ib_dev),
|
||||
openib_btl->port_num);
|
||||
|
||||
return OMPI_SUCCESS;
|
||||
}
|
||||
|
||||
@ -2603,11 +2609,6 @@ btl_openib_component_init(int *num_btl_modules,
|
||||
if (OMPI_SUCCESS != ret && OMPI_ERR_NOT_SUPPORTED != ret) {
|
||||
free(dev_sorted);
|
||||
goto no_btls;
|
||||
} else {
|
||||
opal_output_verbose(1, ompi_btl_base_framework.framework_output,
|
||||
"[rank=%d] openib: using device %s",
|
||||
ORTE_PROC_MY_NAME->vpid,
|
||||
ibv_get_device_name(dev_sorted[i].ib_dev));
|
||||
}
|
||||
}
|
||||
free(dev_sorted);
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user