【InfiniBand】“Warning: couldn‘t open config directory ‘/etc/libibverbs.d/libibverbs.d‘.”

运行ibv_ud_pingpong出错:“Warning: couldn‘t open config directory ‘/etc/libibverbs.d/libibverbs.d‘.”

解决方法:

参考: libibverbs - RDMAmojo RDMAmojo

​​​​​​​libibverbs: Warning: couldn't open config directory '/etc/libibverbs.d'
Reason: libibverbs failed to open the directory that holds information about the installed userspace low-level driver libraries.
Cause: this usually happens when libibverbs was configured and compiled with different parameters (--sysconfdir that was provided to "configure") than the userspace low-level driver libraries.
Solution: uninstall the userspace low-level drivers and libibverbs and install them from a consistent source, or recompile all those libraries with the same parameters.
重新运行configure:
./configure --sysconfdir=/etc
make clean
make
问题解决。

你可能感兴趣的:(编程,网络,linux,c语言,linux,网络)