8–iWARP Configuration
Configuring iWARP on Linux
177
AH0054602-00 J
2.
Install all OS-dependent packages/libraries as described in the
RDMA-Core
README
.
For CentOS, issue the following command:
#
yum install cmake gcc libnl3-devel libudev-devel make
pkgconfig valgrind-devel
For SLES 12 SP3 (ISO/SDK kit), install the following RPMs:
cmake-3.5.2-18.3.x86_64.rpm
(OS ISO)
libnl-1_1-devel-1.1.4-4.21.x86_64.rpm
(SDK ISO)
libnl3-devel-3.2.23-2.21.x86_64.rpm
(SDK ISO)
3.
To build the RDMA-Core, issue the following commands:
#
cd <rdma-core-path>/rdma-core-master/
#
./build.sh
4.
To run all OFED applications from the current RDMA-Core-master location,
issue the following command:
#
ls
<
rdma-core-master>/build/bin
cmpost ib_acme ibv_devinfo ibv_uc_pingpong
iwpmd rdma_client rdma_xclient rping ucmatose
umad_compile_test cmtime ibv_asyncwatch ibv_rc_pingpong
ibv_ud_pingpong mckey rdma-ndd rdma_xserver rstream
udaddy umad_reg2 ibacm ibv_devices ibv_srq_pingpong
ibv_xsrq_pingpong rcopy rdma_server riostream
srp_daemon udpong umad_register2
Run applications from the current RDMA-Core-master location. For
example:
#
./rping -c -v -C 5 -a 192.168.21.3
ping data: rdma-ping-0: ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqr
ping data: rdma-ping-1: BCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrs
ping data: rdma-ping-2: CDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrst
ping data: rdma-ping-3: DEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstu
ping data: rdma-ping-4: EFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuv
client DISCONNECT EVENT...
5.
To run inbox OFED applications such as perftest and other InfiniBand
applications, issue the following command to set the library path for iWARP:
#
export
LD_LIBRARY_PATH=/builds/rdma-core-path-iwarp/rdma-core-master/build/lib