Download and install OFED under Linux system (offline version)

1. First check if OFED is installed

ls /usr/mpi/gcc/openmpi-3.1.0rc2/bin/mpirun
rpm -qa | grep mlnx-ofa

2. Download OFED

Select the appropriate OFED version to download the installation package

Download address: Linux InfiniBand Drivers

Select version 5.1-2.5.8.0 to download here 

 wget -c https://content.mellanox.com/ofed/MLNX_OFED-5.1-2.5.8.0/MLNX_OFED_LINUX-5.1-2.5.8.0-rhel7.6-x86_64.tgz

3. Install 

Unzip the downloaded installation package

tar xvf MLNX_OFED_LINUX-5.1-2.5.8.0-rhel7.6-x86_64.tgz 

Enter the corresponding directory to perform the installation

cd MLNX_OFED_LINUX-5.1-2.5.8.0-rhel7.6-x86_64 && \
./mlnxofedinstall --distro rhel7.6 --skip-distro-check --user-space-only --without-fw-update -q --force

Reboot after successful installation

/etc/init.d/openibd restart
reboot

4. Installation verification

Check if the mode of the port is InfiniBand 

ibv_devinfo

Guess you like

Origin blog.csdn.net/lovebaby1689/article/details/126597769