1
1

fix selection logic: if no suitable device found - disqulaify mxm w/o complains.

This commit was SVN r25021.
Этот коммит содержится в:
Mike Dubman 2011-08-09 07:09:37 +00:00
родитель 67feeb6aca
Коммит bfd75de6f9

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

@ -82,8 +82,12 @@ static int ompi_mtl_mxm_component_open(void)
mxm_fill_context_opts(&mxm_opts);
err = mxm_init(&mxm_opts, &ompi_mtl_mxm.mxm_context);
if (MXM_OK != err) {
if (MXM_ERR_NO_DEVICE == err) {
MXM_VERBOSE(1, "No supported device found, disqualifying mxm");
} else {
orte_show_help("help-mtl-mxm.txt", "mxm init", true,
mxm_error_string(err));
}
return OPAL_ERR_NOT_AVAILABLE;
}
return OMPI_SUCCESS;