You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
get_address() fails when only nonstandard interface names are available #741
ucxx.get_address() only auto-discovers interfaces whose names begin with ib, eth, or en. If every usable interface has another name, such as beth3 or beth4, it raises OSError("No devices found") even when those interfaces have valid addresses.
I don't think that's something we can reliably do. For example, docker* will error/deadlock on systems with Docker, and this applies to many others depending on system configuration (other common cases are tun*, tap*, virbr0, etc.). At that stage the user needs to be capable of intervening, which is what the ifname kwarg in that function allows. If you have a concrete reliable suggestion, please let us know, but this is unfortunately something I think we cannot universally do.
Activity
pentschev commentedon Sep 3, 2026
I don't think that's something we can reliably do. For example,
docker*will error/deadlock on systems with Docker, and this applies to many others depending on system configuration (other common cases aretun*,tap*,virbr0, etc.). At that stage the user needs to be capable of intervening, which is what theifnamekwarg in that function allows. If you have a concrete reliable suggestion, please let us know, but this is unfortunately something I think we cannot universally do.