FPGA AI Suite: Getting Started Guide

ID 768970
Date 7/31/2024
Public
Document Table of Contents

4.6. Setting Required Environment Variables

Set the OpenVINO™ toolkit and FPGA AI Suite environment variables by running the following commands from a bash-style shell (do not use /bin/dash or /bin/tcsh) or by adding the commands to your .bashrc file. If you did not install OpenVINO™ toolkit into the default location, adjust the second command appropriately.
source /opt/intel/openvino_2023/setupvars.sh
source /opt/intel/fpga_ai_suite_2024.2/dla/setupvars.sh
Tip: If you have multiple versions of FPGA AI Suite installed on your system, you can use source commands to switch between them. To switch, source the environment variable setup scripts for the version of FPGA AI Suite that you want to run. You must ensure that you also have the required OpenVINO™ toolkit version available.
For example, if you want to run FPGA AI Suite 2023.3, run the following commands:
source /opt/intel/openvino_2022/setupvars.sh
source /opt/intel/fpga_ai_suite_2023.3/dla/setupvars.sh

In some older versions of FPGA AI Suite. the environment variable setting script is called init_env.sh and might be in a slightly different path (dla/bin/init_env.sh).

Next Step

After setting the required environment variables, if you are using Red Hat* Enterprise Linux* 8.7, continue your installation with the steps in Installing Intel Threading Building Blocks (TBB). Otherwise, complete your installation with the steps in Finalizing Your FPGA AI Suite Installation.