Intel® FPGA RTE for OpenCL™ Pro Edition: Getting Started Guide

ID 683173
Date 3/28/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

3.2. Installing the Intel® FPGA RTE for OpenCL™ Pro Edition

Install the Linux version of the Intel® FPGA RTE for OpenCL™ Pro Edition in a directory that you own.
  • You must have sudo or root privileges.
  • You must install the Linux OS kernel source and headers (for example, kernel-devel.x86_64 and kernel-headers.x86_64), and the GNU Compiler Collection (GCC) (gcc.x86_64).
  • If you are installing a package that includes Intel Code Builder, you must have Java SE 1.8.71 or later installed to run Intel Code Builder. If you have an earlier version of Java SE installed, you can still complete the installation of Intel Code Builder. However, you must meet the Java version prerequisite to run Intel Code Builder.

To install the Intel® FPGA RTE for OpenCL™ , perform the following tasks:

  1. Run the setup_pro.sh file to install the SDK with the Intel® Quartus® Prime Pro Edition software.
    Important: Run this script with sudo privileges to ensure the Installable Client Driver (ICD) is setup successfully.
  2. At the command prompt, type the RPM command to install the downloaded RPM package.
    Note: The installation path must not contain any spaces (for example, /usr/intel/<version>/intel-fpga-opencl-pro-rte).
    Attention: If you install the software on a system that does not contain any C Shell Run Commands file (.cshrc) or Bash Run Commands file (.bashrc) in your directory, you must set the environment variables INTELFPGAOCLSDKROOT and PATH manually. Alternatively, you may create the .cshrc and .bashrc files, and then append the environment variables to them. To ensure that the updates take effect, restart your terminal after you set the environment variables.
    • To install the software using the Red Hat Package Manager (RPM), at the command prompt, type the rpm -i intel-fpga-opencl-pro-rte-64bit-linux.rpm command.

      The RPM installs the software in the default location (for example, /opt/intel/intel-fpga-opencl-pro-rte).

    • To install the software in the default location with verbose progress reporting, type rpm -ivh intel-fpga-opencl-pro-rte-64bit-linux.rpm
    • To install the software in an alternate directory that you own (that is, not a system directory), type rpm -i --prefix <rte_destination_directory> intel-fpga-opencl-pro-rte-64bit-linux.rpm
  3. Verify that INTELFPGAOCLSDKROOT points to the current version of the software. Open a shell and then type echo $INTELFPGAOCLSDKROOT at the command prompt.
    Note:
    • The installer sets the environment variable INTELFPGAOCLSDKROOT to point to the path of the software installation.
    • If there are dependency issues, use the –nodeps option.
    If the returned path does not point to the location of the Intel® FPGA RTE for OpenCL™ installation, edit the INTELFPGAOCLSDKROOT setting.

    For instructions on modifying environment variable settings, refer to Setting the Intel® FPGA RTE for OpenCL™ Pro Edition User Environment Variables.