•
•
•
•
a.
The “mlnx_add_kernel_support.sh” script can be executed directly from the
mlnxofedinstall script. For further information, please see '--add-kernel-support' option
below.
Example:The following command will create a MLNX_OFED_LINUX ISO image for
RedHat 7.3 under the /tmp directory.
# ./MLNX_OFED_LINUX-x.x-x-rhel7.3-x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-
rhel7.3-x86_64/ --make-tgz
Note: This program will create MLNX_OFED_LINUX TGZ for rhel7.3 under /tmp directory.
All Mellanox, OEM, OFED, or Distribution IB packages will be removed.
Do you want to continue?[y/N]:y
See log file /tmp/mlnx_ofed_iso.21642.log
Building OFED RPMs. Please wait...
Removing OFED RPMs...
Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7.3-x86_64-ext.tgz
The script adds the following lines to /etc/security/limits.conf for the userspace
components such as MPI:
*soft memlock unlimited
*hard memlock unlimited
These settings set the amount of memory that can be pinned by a
userspace application to unlimited. If desired, tune the value unlimited
to a specific amount of RAM.
For your machine to be part of the InfiniBand/VPI fabric, a Subnet Manager must be running
on one of the fabric nodes. At this point, OFED for Linux has already installed the OpenSM
Subnet Manager on your machine.
For the list of installation options, run:
Installation Procedure
This section describes the installation procedure of MLNX_OFED on NVIDIA adapter cards.
Log in to the installation machine as root.
In such cases, the installer will recommend running the following command to
update the initramfs:
On some OSs,dracut -fmight result in the following error message which
can be safely ignore.
libkmod: kmod_module_new_from_path: kmod_module 'mdev' already
exists with different path
On Ubuntu and Debian distributions drivers installation use Dynamic Kernel
Module Support (DKMS) framework. Thus, the drivers' compilation will take
place on the host during MLNX_OFED installation.
Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and
Debian distributions.