>>Install following packaes prerequiste for pyverbs compilation in rdma-core
rpm -ivh http://mirror.centos.org/centos/8/PowerTools/x86_64/os/Packages/python3-Cython-0.28.1-3.el8.x86_64.rpm
yum install python3-devel
yum install libudev-devel
yum install pkgconfig valgrind-devel libudev-devel cmake libnl3-devel python3-devel python3-docutils
>>with above package installed , now build rdma-core
./build.sh → with above packages will compile pyvers in rdma-core
>>run sample application present in rdma-core using
PYTHONPATH='/opt/rdma-core/build/python' python3 pyverbs/examples/ib_devices.py
Good resources
https://github.com/linux-rdma/rdma-core/blob/master/Documentation/pyverbs.md
No comments:
Post a Comment