Intel® Acceleration Stack User Guide: Intel FPGA Programmable Acceleration Card N3000

ID 683040
Date 6/14/2021
Public
Document Table of Contents

4. Installing the OPAE Software

The OPAE is a software framework delivered as part of the Intel Acceleration Stack for managing and accessing the Intel® FPGA PAC.

The following section describes the installation of OPAE on a freshly imaged server with supported OS and kernel. The host must have internet connectivity to retrieve additional software packages. The installation steps require sudo or root privileges on your host.
Note: The OPAE version created for Intel® FPGA PAC N3000 is not compatible with any other Intel® FPGA PAC.
To verify that you have the correct kernel, kernel source and header, perform the following steps:
  1. Check the kernel version running on the server:
    $ uname -a
    Sample output:
    Linux rae-xxx 3.10.0-957.el7.x86_64
  2. List the kernel source on the system:
    $ ls -l /usr/src/kernels/
    Sample output:
    drwxr-xr-x. 22 root root 4096 Jun 21 13:05 3.10.0-957.el7.x86_64
  3. List the installed kernel header:
    $ rpm -qa | grep kernel-header
    
    kernel-headers-3.10.0-957.el7.x86_64
    If the kernel source and header do not match the kernel version running on the server, there can be issues with installing OPAE driver.
To mitigate this issue:
  1. Remove the incompatible kernel header:
    $ sudo yum remove kernel-headers.x86_64
  2. Install the correct kernel source:
    $ sudo yum install "kernel-devel-uname-r == $(uname -r)"
  3. Install the correct kernel header:
    $ sudo yum install kernel-headers-`uname -r`