3.3. Setting the Intel® FPGA SDK for OpenCL™ Pro Edition User Environment Variables
|Environment Variable||Path to Include|
where INTELFPGAOCLSDKROOT points to the path of the software installation
- 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.
Example script output:
Adding $INTELFPGAOCLSDKROOT/bin to PATH Adding $INTELFPGAOCLSDKROOT/host/linux64/lib to LD_LIBRARY_PATH
Did you find the information on this page useful?