3.2.1. Setting the Intel FPGA RTE for OpenCL Pro Edition User Environment Variables - You have the option to set the Intel FPGA RTE for OpenCL Pro Edition Linux user environment variables permanently or transiently. - 2025-12-16

FPGA RTE for OpenCL Pro Edition Getting Started Guide

Version
22.4
Product Type
Development Software and Tools > FPGA Design & Simulation Tools > Quartus Prime Design Software > Pro Edition
Device Families > Agilex Families
Development Software and Tools > FPGA Design & Simulation Tools > Quartus Prime Design Software
Device Families > Agilex Families > Agilex 7
Device Families > Cyclone Families
Device Families > Arria Families
Device Families > Stratix Families
Device Families > MAX Families
Resource Type
Documentation > User Guides
ft:sourceName
DITA
You have the option to set the Intel® FPGA RTE for OpenCL™ Pro Edition Linux user environment variables permanently or transiently. The environment variable settings describe the FPGA board and the host runtime to the software.
Attention: If you set the environment variable in your .bashrc or .cshrc file, the settings are applied to all subsequent sessions. If you set the environment variables transiently, you must apply the settings during installation and during every subsequent session you run.
Table 3.   Intel® FPGA RTE for OpenCL™ Linux User Environment Variable Settings
Environment Variable Path to Include
PATH $INTELFPGAOCLSDKROOT/bin

where INTELFPGAOCLSDKROOT points to the path of the software installation

LD_LIBRARY_PATH $INTELFPGAOCLSDKROOT/host/linux64/lib
  • To automatically initialize the environment at the beginning of each session, add the following export statements to your .bashrc or .cshrc file:
    export <variable_name>="<variable_setting>":$<variable_name> command.

    For example, the command export PATH="$INTELFPGAOCLSDKROOT/bin":$PATH adds $INTELFPGAOCLSDKROOT/bin to the list of PATH settings.

  • To apply transient environment variable settings, open a bash-shell command-line terminal and run the source $INTELFPGAOCLSDKROOT/init_opencl.sh command. This command does not work in other shells.