mtl ofi: it is not an error to return no data from fi_getinfo()
Before this commit, the presence of usNIC devices -- which will (currently) return no data when fi_getinfo() is queried for tagged matching providers -- would cause an error message to be displayed. Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
Этот коммит содержится в:
родитель
f910f554f7
Коммит
5a6ddf42d6
@ -364,7 +364,10 @@ ompi_mtl_ofi_component_init(bool enable_progress_threads,
|
||||
0ULL, /* Optional flag */
|
||||
hints, /* In: Hints to filter providers */
|
||||
&providers); /* Out: List of matching providers */
|
||||
if (0 != ret) {
|
||||
if (FI_ENODATA == -ret) {
|
||||
// It is not an error if no information is returned.
|
||||
goto error;
|
||||
} else if (0 != ret) {
|
||||
opal_show_help("help-mtl-ofi.txt", "OFI call fail", true,
|
||||
"fi_getinfo",
|
||||
ompi_process_info.nodename, __FILE__, __LINE__,
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user