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

ID 683188
Date 12/19/2022
Public
Document Table of Contents

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

Unpack the downloaded tar file and run the installation files to install all the software and files.

Install the Linux version of the Intel® FPGA SDK 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.
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 Intel® FPGA SDK for OpenCL™ , Intel® Quartus® Prime software, and device support files simultaneously, perform the following tasks:

  1. Unpack the downloaded tar file into a temporary directory.
  2. 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.
  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 SDK for OpenCL™ installation, edit the INTELFPGAOCLSDKROOT setting.

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

Installing the Eclipse Plug-in

After installing the Intel® FPGA SDK for OpenCL™ , perform these steps to install the Eclipse plug-in:

  1. Navigate to the $INTELFPGAOCLSDKROOT/ide_plugins directory.
  2. Execute the plugins_install.sh script.
  3. Follow the prompts to indicate where your installation of Eclipse is.
Note: If the installation indicates that it finished successfully but you do not see the plug-ins in the IDE, ensure the Java Runtime version you have installed is supported by the Eclipse IDE version, and that you have all of the prerequisites described in Prerequisites for the Intel FPGA SDK for OpenCL Pro Edition.