SoftRoCE / rxe-dev

Development Repository for RXE
Other
132 stars 56 forks source link

SoftRoCE installation failing #68

Open LakshayNagpal opened 7 years ago

LakshayNagpal commented 7 years ago

I am following this link: https://community.mellanox.com/docs/DOC-2184 and I am stuck at the point where we need to build user space libraries at point number 2. in user space libraries installation from the above link.

And I'm getting the following error:

CMake Error at providers/bnxt_re/cmake_install.cmake:62 (FILE):
  file INSTALL cannot find
  "/usr/src/rdma-core/build/lib/libbnxt_re-rdmav2.so".
Call Stack (most recent call first):
  cmake_install.cmake:47 (INCLUDE)

make: *** [install] Error 1

Please help me out as I'm stuck at this position for the past 1.5 month and couldn't find a solution from any developer or internet.

Kernel was successfully installed and here's a screenshot for the same img_20170609_124752

zlai commented 6 years ago

I ran into similar problem.

Basically, You should not use 'make install' as mentioned in the following email thread, https://www.spinics.net/lists/linux-rdma/msg46636.html

Instead, export library path (can also be added it to ~/.bashrc),

LD_LIBRARY_PATH=`pwd`/build/bin:$LD_LIBRARY_PATH
johnny5188 commented 3 years ago
  1. rdma-core package will be installed after installed rxe_dev codes, rdma_rxe module will be installed. then the rdma service will also enabled.
  2. in userspace, the librxe_dev is not needed to compile and install, just do "yum install libibverbs libibverbs-devel libibverbs-utils librdmacm librdmacm-devel librdmacm-utils" in centos7.9 with 4.7 kernel. the rxe_config command is ready.
  3. the rdma-core codes we can build ,but cannot install. in fact we don't need to install the rdma-core.