Installation Guide for Intel® oneAPI Toolkits

By Devorah Hayman, Devorah Hayman, Vijetha Malkai, published on August 16 , 2019

Version History

    Date Version Change Summary  
May 2020 2021.1-beta06 Beta 06 release
March 2020 2021.1-beta05 Beta 05 release
January 2020 2021.1-beta04 Beta 04 release
November 2019 2021.1-beta03 Initial Beta release

1. Introduction

This guide covers the installation of Intel® oneAPI Toolkits on Windows* or Linux* systems. The following installation options are available:

Supported Distributions
Installation Option Linux Windows
Online Installer Yes Yes
Full package local installer Yes Yes
Container Yes No
APT Yes No
YUM Yes No
Zypper Yes No

Note Be sure to read the Toolkit Release notes and System requirements to learn more about compatibility details.  If you have applications with long-running GPU compute workloads in native environments, you must disable the hangcheck.

2. Online Installer

  1. Go to the Intel® oneAPI page.
  2. Locate the Intel® oneAPI Base Toolkit or Domain-Specific Toolkit for Specialized Workloads.

Note Some domain-specific toolkits require you to install the Intel oneAPI Base Toolkit first for full functionality.

Note To use third-party IDE, install Eclipse* on your Linux* host system or Microsoft Visual Studio* on your Windows system before installing the Intel® oneAPI Toolkits. This allows you to integrate the plugins as part of the Base Kit installation.


 Get the Base Kit

  1. Click the Get the Base Kit button or click the Domain-Specific Toolkit button for standalone capable kits.
  2. Select your OS from the drop-down list.
    Select OS
  3. For a web-based download, click the Configure Install button  
    • For Linux*, you will also have a container and package manager options. Refer to these Linux* install instructions.
  4. Click on the Download button for the Online Installer. Alternatively, you can choose the Local Installer.

        Online Installer

NOTE: If you are targeting an FPGA and would like to install additional components for this kind of development, click on the Intel® FPGA Add-on for oneAPI Base Toolkit in the gray box. This provides an add-on, separate download. See the FPGA install instructions for detailed steps.

 

2.1 Run the Online Installer

Click the Download button to download the oneAPI toolkit installer.

2.1.1 For Linux Users

  1.    Extract the installer from the tar.gz file using: 
    tar -xvf <tar-file-name>
  2.    Locate the install.sh file in the extracted installer folder.
  3.    Use the following command to launch the GUI installer as root. 
    sudo ./install.sh
  1.    Follow the installer instruction screens.

Note  If you are using a discrete Intel GPU, you will need to install the latest GPU drivers separately.

2.1.2 For Windows Users

  1. Double-click the EXE file to launch the GUI installer.
    w_[Toolkit Name]Kit_[version].exe
  2.  Follow the installer instruction screens. Once the installation is complete, verify that your toolkit has been installed to the correct installation directory, as follows:
Default Installation Directory
Linux Windows
/opt/intel/inteloneapi C:Program Files (x86)inteloneapi

Note Be sure to read the Toolkit release notes and system requirements to learn more about compatibility details.

Note If you have applications with long-running GPU compute workloads in native environments, you must disable the hangcheck timeout period to avoid terminating workloads.

3. Local Installer (Full package)

This section contains steps to install your toolkit using the Local Installer. When selecting Local Installer the full package is available for download.

On selected toolkit download page click Get It Now button. Select your OS and then under Local Installer on the right, click the Download button. Save the installation file to your computer.

               Local Installer

For Linux Users

You can choose to install:

For Windows Users:

3.1 Install with the GUI on Linux* or Windows*

3.1.1 For Linux* Users

  1. Unpack the archive and launch the GUI installer by running: 
    sudo ./install.sh
  2. Follow the instructions in the installer.

3.1.2 For Windows* Users

  1. Double-click on the installer:
    w_[Toolkit Name]Kit_[version].exe
    
  2. Follow the installer instruction screens. Once the installation is complete, verify that your toolkit has been installed to the correct directory, as follows:
Default Installation Directory
Linux Windows
/opt/intel/inteloneapi C:Program Files (x86)inteloneapi

NOTE: Be sure to read the Toolkit release notes and system requirements to learn more about compatibility details.

NOTE: If you have applications with long-running GPU compute workloads in native environments, you must disable the hangcheck timeout period to avoid terminating workloads.

3.2 Install with the Command Line on Linux

3.2.1 Silent Install 

 Follow the detailed instructions below:

  1. Extract the contents of the archive file you downloaded using the following command:
    tar -xvf <tar-file-name>
  2. Modify the silent configuration file (silent.cfg) with the following content:
    # accept EULA, valid values are: {accept, decline}
    ACCEPT_EULA=accept
  3. Save the configuration file.
  4. Launch the installation with the following command. 
sudo ./install.sh --silent ./silent.cfg

The installation starts and may take some time to finish.

  • Once the installation is complete, verify that your toolkit has been installed to the correct directory:
    /opt/intel/inteloneapi
    

3.2.2 Interactive Install 

  Follow the instructions below:

  1. Extract the contents of the archive file you downloaded using the following command:
    tar -xvf <tar-file-name>
  2. Start interactive installer:
    sudo ./install.sh --cli-mode
  3. Follow installer instructions
  4. Once the installation is complete, verify that your toolkit has been installed to the correct directory:
   /opt/intel/inteloneapi

NOTE:  If you are using a discrete Intel GPU, you will need to install the latest GPU drivers separately.

NOTE: Be sure to read the Toolkit release notes and system requirements to learn more about compatibility details. Read EULA for Intel Software Development Products

NOTE: If you have applications with long-running GPU compute workloads in native environments, you must disable the hangcheck timeout period to avoid terminating workloads.

3.3 Install Selected oneAPI Toolkit Components from the Command Line on Linux*

You can specify which components to include when installing your toolkit from the command line. Follow the steps below.

  1. Extract the contents of the archive file you downloaded using the following command:
    tar -zxvf  <tar-file-name>
  2. Obtain a list of components available in the toolkit package using the following command:
    ./install.sh --list_components

    You will observe the following output:

    intel-dpc++-compiler-1.0-128__noarch - Intel(R) DPC++ Compiler, version: 1.0
    intel-oneapi-mkl-1.0-056__noarch - Intel(R) oneAPI Math Kernel Library, version: 1.0
  3. Modify the silent configuration file, silent.cfg.  Add unique component identifiers to the COMPONENTS section of silent.cfg, using a semicolon (;) to separate different components you wish to install. Below is an example of the silent.cfg file content:
    # accept EULA, valid values are: {accept, decline}
    ACCEPT_EULA=accept
    # List of components to install, valid values are: {ALL, DEFAULTS, comppat}
    COMPONENTS=intel-dpc++-compiler-1.0-128__noarch;intel-oneapi-mkl-1.0-056__noarch
  4. Save the configuration file.
  5. Run the installation with the command:
    sudo ./install.sh --silent ./silent.cfg

    This installs the components to the default installation directory.

  6. Once the installation is complete, verify that your toolkit has been installed to the correct directory, as follows:
    Default Installation Directory
    Linux Windows
    /opt/intel/inteloneapi C:Program Files (x86)inteloneapi

NOTE: Be sure to read the Toolkit release notes and system requirements to learn more about compatibility details.  Read EULA for Intel Software Development Products

NOTE:  If you are using a discrete Intel GPU, you will need to install the latest GPU drivers separately.

NOTE: If you have applications with long-running GPU compute workloads in native environments, you must disable the hangcheck timeout period to avoid terminating workloads.

4. Other Installation Methods for Linux*

4.1 Install via Linux* Package Managers

Follow these instructions to install from Linux* repositories:

  1. Install from yum (Internet connection required)
  2. Install from APT (Internet connection required)
  3. Install from Zypper (Internet connection required)

NOTE: Be sure to read the Toolkit release notes and system requirements to learn more about compatibility details.

NOTE: If you have applications with long-running GPU compute workloads in native environments, you must disable the hangcheck timeout period to avoid terminating workloads.

4.2 Install a Docker Container

Follow the instructions to install a Docker container.

NOTE: Be sure to read the Toolkit release notes and system requirements to learn more about compatibility details.

5. Set Up a Standalone System for FPGA with the Intel® PAC (Linux* only)

Intel® recommends using the Intel® DevCloud, which is already set up with an Intel® Programmable Acceleration Card (PAC) with Intel Arria® 10 GX FPGA or Intel® Programmable Acceleration Card (PAC) with Intel Stratix® 10 SX FPGA and the necessary software stack. However, for flexibility, you may want to have your own setup. You can set up separate runtime and development systems. With this option, you install the FPGA hardware on the runtime system and run the design only. On the development system, you compile and generate the FPGA bitstream.

You can also use a single system as both a runtime and development system. To do so, perform the following high-level steps on the same system, as described below: 

  1. (Hardware-run, machine-specific) Install the Intel® PAC software stack
  2. Install the Intel® FPGA add-on package on the development system

5.1 Install the Intel® PAC Software Stack (Linux only)

This step applies only to the machine with a physical card or the runtime system. If you need an Intel® PAC with Intel Arria® 10 GX FPGA or an Intel® PAC with Intel Stratix® 10 SX FPGA, contact the Intel sales representatives. Refer to www.intel.com/arria10pac and www.intel.com/stratix10sxpac for more information.

Note: For systems that are used for FPGA bitstream compilation and generation, execute the steps in Install the Software Stack Shipped with Intel® FPGA add-on Package to install the correct version of the Intel PAC software stack. 

Perform the following steps:

  1. Install one of the following software stacks on a system with a physical card:
    • If you are on a system with the Intel® PAC with Intel Arria® 10 GX FPGA, run the following command to install its software stack:
      aocl install intel_a10gx_pac
    • If you are on a system with the Intel® PAC with Intel Stratix® 10 SX FPGA, run the following command to install its software stack:
      aocl install intel_s10sx_pac

CAUTION: Avoid running the aocl install command with secure boot enabled. Otherwise, an error is displayed since it is currently not supported.

CAUTION: The software stack for Intel® PAC with Intel Arria® 10 GX FPGA and Intel® Stratix 10 SX FPGA cannot be simultaneously installed on the same system. If you have installed one of them and want to install the other one, you must uninstall the former one first by either running the aocl uninstall intel_a10gx_pac or
aocl uninstall intel_s10sx_pac command.

  1. Accept the installation prompts to proceed with installing the Intel® PAC software stack. 

NOTE: You must ensure that the FPGA development board is plugged into the system. Verify it using the aocl diagnose command. This diagnostic should be done only once per installation.

TIP: The installer attempts to install the prerequisite packages. If it fails to install a package (for example, due to version conflict or repository incomplete), you can either manually install that package or run the sudo apt -fix-broken install command.

5.2 Install the Intel® FPGA Add-on for oneAPI Base Toolkit Package (Linux only)

The Intel® FPGA Add-on for oneAPI Base Toolkit provides the necessary tools to compile an FPGA bitstream for deployment onto your chosen FPGA platform. It is intended for use in conjunction with the Intel® oneAPI DPC++ Compiler, and cannot be used as a standalone component. Use the FPGA add-on to compile your FPGA design for deployment to FPGA hardware.

The Intel® FPGA Add-on for oneAPI Base Toolkit package includes the Intel® Quartus® Prime Pro Edition and the board support package (BSP) for its targeted FPGA platform. The Intel® Quartus® Prime Pro Edition contains the following:

  • Hybrid Placer & Global Router
  • Timing Analyzer
  • Physical Synthesis
  • Incremental Fitter Optimization
  • Interface Planner
  • Synthesis Engine
  • Platform Designer
  • Partial Reconfiguration
  • Block-Based (Hierarchical) Design

NOTE: The FPGA add-on is not required for the emulation or report generation stages of the FPGA development flow. You can complete those stages with just the Intel oneAPI DPC++ Compiler.

5.2.1 Install the Intel® FPGA Add-on for Intel® PAC with Intel® Arria® 10 GX FPGA

If you have the Intel® PAC with Intel® Arria® 10 GX FPGA (a10gx) on the system and you want to compile your FPGA design for deployment to FPGA hardware, perform the following steps:

  1. Download the Intel® FPGA add-on for oneAPI Base Toolkit package for a10gx package, as described in the Online Installer section. See also Intel® FPGA Add-On for oneAPI Base Toolkit home page. 
  2. Unzip the package using the following command:
    unzip intel-fpga-addon-for-oneapi-base-kit-for-a10gx-linux.zip

     

  3. Run the setup.sh script in the add-on package directory, as follows: 
    cd intel-fpga-addon-for-oneapi-base-kit-for-a10gx-linux/l_intel_fpga_dpcpp_2021.1-a10gx-beta06
    sudo ./setup.sh               

    CAUTION:  To install the Intel FPGA add-on package, you need root or sudo privileges. Otherwise, the installer displays an error.

  4. Perform the following for the installer prompts:
    1. Accept the license agreement.
    2. Enter your Intel® oneAPI Base Toolkit installation path. By default, it is /opt/intel/inteloneapi/
    3. Choose to install prerequisite packages.
  5. Close the existing shell.
  6. Open a new shell and set up the Intel® oneAPI Base Toolkit user environment.
    cd /opt/intel/inteloneapi or <you own oneAPI base toolkit installation path>
    source setvars.sh
     
  7. Diagnose the oneAPI Base Toolkit installation, including the FPGA installation and environment by running the sys_check.sh script:
    $ cd /opt/intel/inteloneapi or <your own oneAPI base toolkit installation path>  
    $&nbsp;./sys_check.sh

     

NOTE: If this diagnostic passes, the script does not print anything. If it fails, the script prints why it failed.

5.2.2 Install the Intel® FPGA Add-on for Intel® PAC with Intel Stratix® 10 SX FPGA

If you have the Intel® PAC with Intel Stratix® 10 SX FPGA (s10sx) on the system and you want to compile your FPGA design for deployment to FPGA hardware, perform the following steps:

  1. Download the Intel® FPGA add-on for oneAPI Base Toolkit package for s10sx package, as described in the Online Installer section. See also Intel® FPGA Add-On for oneAPI Base Toolkit home page. 
  2. Unzip the package using the following command:
    unzip intel-fpga-addon-for-oneapi-base-kit-for-s10sx-linux.zip

     

  3. Run the setup.sh script in the add-on package directory, as follows: 
    cd intel-fpga-addon-for-oneapi-base-kit-for-s10sx-linux/l_intel_fpga_dpcpp_2021.1-s10sx-beta06
    sudo ./setup.sh

    CAUTION:  To install the Intel FPGA add-on package, you need root or sudo privileges. Otherwise, the installer displays an error.

  4. Perform the following for the installer prompts:
    1. Accept the license agreement.
    2. Enter your Intel® oneAPI Base Toolkit installation path. By default, it is /opt/intel/inteloneapi/
    3. Choose to install prerequisite packages.
  5. Close the existing shell.
  6. Open a new shell and set up the Intel® oneAPI Base Toolkit user environment.
    cd /opt/intel/inteloneapi or <you own oneAPI base toolkit installation path>
    source setvars.sh

     

  7. Diagnose the oneAPI Base Toolkit installation, including the FPGA installation and environment by running the sys_check.sh script:
    $ cd /opt/intel/inteloneapi or <your own oneAPI base toolkit installation path>  
    $&nbsp;./sys_check.sh

     

NOTE If this diagnostic passes, the script does not print anything. If it fails, the script prints why it failed.

5.2.3 Install the Intel® FPGA Add-on for Intel® Custom Platforms

If you have Intel® Custom Platforms on the system and you want to compile your FPGA design for deployment to FPGA hardware, perform the following steps:

  1. Download the Intel® FPGA add-on for oneAPI Base Toolkit package for custom platforms, as described in the Online Installer section. See also Intel® FPGA Add-On for oneAPI Base Toolkit home page. 
  2. Unzip the package using the following command:
    unzip intel-fpga-addon-for-oneapi-base-kit-for-custom-platforms-quartus19.4-linux.zip

     

  3. Run the setup.sh script in the add-on package directory, as follows: 
    cd intel-fpga-addon-for-oneapi-base-kit-for-custom-platforms-quartus19.4-linux/l_intel_fpga_dpcpp_2021.1-custom-platforms-quartus19.4-beta06
    sudo ./setup.sh

    CAUTION  To install the Intel FPGA add-on package, you need root or sudo privileges. Otherwise, the installer displays an error.

  4. Perform the following for the installer prompts:
    1. Accept the license agreement.
    2. Enter your Intel® oneAPI Base Toolkit installation path. By default, it is /opt/intel/inteloneapi/
    3. Choose to install prerequisite packages.
  5. Visit the Intel® FPGA Development Tools website and download the following two packages:
    • Intel FPGA OpenCL Board Support Package for Arria 10 GX Linux x86-64 TGZ 
    • Intel FPGA OpenCL Board Support Package for Stratix 10 GX Linux x86-64 TGZ 

    The Intel® FPGA add-on for oneAPI Base Toolkit for custom platforms does not include the software stack for a10_ref and s10_ref. So you must obtain the software stack manually.

  6. Unzip the packages to one of the following locations:
    • /opt/intel/inteloneapi/intelfpgadpcpp/2021.1-beta06/board  or 
    • <your own oneAPI base toolkit installation path>/intelfpgadpcpp/2021.1-beta06/board 
  7. Close the existing shell.
  8. Open a new shell and set up the Intel® oneAPI Base Toolkit user environment.
    cd /opt/intel/inteloneapi or <you own oneAPI base toolkit installation path>
    source setvars.sh

     

  9. Diagnose the oneAPI Base Toolkit installation, including the FPGA installation and environment by running the sys_check.sh script:
    $ cd /opt/intel/inteloneapi or <your own oneAPI base toolkit installation path>  
    $&nbsp;./sys_check.sh

     

NOTE: If this diagnostic passes, the script does not print anything. If it fails, the script prints why it failed.

5.3 (Caveat) Install the Correct Version of Intel® PAC Software Stack

Both Intel® oneAPI Base Toolkit and Intel® FPGA add-on contains Intel® PAC software stack. The software stack shipped with Intel® oneAPI Base Toolkit has limited functionalities, while the software stack shipped with Intel® FPGA add-on has full functionalities:

Supported Functionality Intel® PAC Software Stack in Intel® oneAPI Base Toolkit  Intel® PAC Software Stack in Intel® FPGA Add-on
Emulation
Report generation
FPGA runtime
FPGA bitstream generation  

Running steps to install the software stack from section 5.1 before installing the FPGA Add-on in section 5.2 causes the PAC software stack in Base Toolkit to be used by default.
If you want to compile your FPGA design for deployment to FPGA hardware, you must make sure the Intel® PAC software stack shipped with Intel® FPGA add-on has been installed. You can check the installed software stack by running the aoc -list-board-packages. The installed software stacks are listed in the Installed board packages section in the command output.

To uninstall a previously installed software stack, refer to the uninstall instructions.

5.3.1 Install the Software Stack Shipped with Intel® FPGA add-on for oneAPI Base Toolkit Package

To install the software stack shipped with the Intel® FPGA add-on for oneAPI Base Toolkit package, perform the following steps:

  1. Follow the steps in Install the Intel® FPGA Add-on for oneAPI Base Toolkit Package to install the FPGA add-on package.
  2. Setup the Intel® oneAPI base toolkit user environment by running the following commands:
    cd /opt/intel/inteloneapi or <you own oneAPI base toolkit installation path>
    source setvars.sh

     

  3. Install the software stack by running: 
    aocl install intel_a10gx_pac

    or

    aocl install intel_s10sx_pac

6. Install Intel GPU Drivers  

If you are using a discrete Intel GPU, you will need to install the latest GPU drivers (OpenCL Neo) because they are not included in the oneAPI toolkits installation package.

NOTE User should be on the "video" group to have access to hardware. Use the command below to add user:      

usermod -a -G video $USERNAME

6.1 For Linux

For GPU development install GPU drivers using the following commands:

6.1.1 Ubuntu* 18.04 

To access the packages, add the repository to your system and then install the packages using apt (Note: root permission is required)

 
cat << EOF | sudo tee /etc/apt/sources.list.d/intel-graphics.list
deb [trusted=yes arch=amd64] https://repositories.intel.com/graphics/ubuntu bionic-devel main
EOF
sudo apt-get update && sudo apt-get install intel-opencl
sudo apt-get install intel-level-zero-gpu level-zero

NOTE: In newer Ubuntu releases, the 'intel-opencl' package is named 'intel-opencl-icd'.

6.1.2 Ubuntu* 19.10 

To access the packages, add the repository to your system and then install the packages using apt (Note: root permission is required)

cat << EOF | sudo tee /etc/apt/sources.list.d/intel-graphics.list
deb [trusted=yes arch=amd64] https://repositories.intel.com/graphics/ubuntu eoan-devel main
EOF
sudo apt-get update
sudo apt-get install intel-opencl-icd intel-media-va-driver-non-free libmfx1 vainfo
sudo apt-get install intel-level-zero-gpu level-zero

6.1.3 RHEL* 8.1 

To access the packages, add the repository to your system and then install the packages using dnf (Note: root permission is required)

cat << EOF | sudo tee /etc/yum.repos.d/intel-graphics.repo
[intel-graphics]
name=Intel Graphics Drivers Repository
baseurl=https://repositories.intel.com/graphics/rhel/8.1-devel
enabled=1
gpgcheck=0
EOF
sudo dnf install intel-opencl intel-media
sudo dnf install intel-level-zero-gpu level-zero
  • Verify if intel-cpu.icd and intel.icd files exist in the "<path>/OpenCL/vendors" directory.  

6.2 For Windows

For GPU development, install the latest Intel® Graphics - Windows® 10 DCH Driver from Downloads for Graphics Drivers

7. Disable Hangcheck (for large GPU workloads)

This section applies only to applications with long-running GPU compute workloads in native environments. Not recommended for virtualizations or other standard usages of GPU, such as gaming.

A workload that takes more than four seconds for GPU hardware to execute is a long-running workload. By default, individual threads that qualify as long-running workloads are considered hung and are terminated. Disabling the hangcheck timeout period avoids this problem.

NOTE If the system is rebooted, hangcheck is automatically enabled. You must disable hangcheck again after every reboot or follow the directions below to disable hangcheck persistently (across multiple reboots). Please re-run this GPU Hangcheck disable with reboot fix if you update (or auto-update) the kernel.

7.1 Disable Hangcheck Until the Next Reboot

Use this command to disable hangcheck until the next reboot:

sudo sh -c "echo N> /sys/module/i915/parameters/enable_hangcheck"

7.2 Disable Hangcheck Across Multiple Reboots

Perform these steps:

  1. Open a terminal and run this command:
    append i915.enable_hangcheck=0 to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub
    run sudo update-grub

     

  2. Reboot the system. Hangcheck will remain disabled.

8. Install OpenCL™ Offline Compiler (OCLOC)

This topic targets Linux* users who want to use Ahead-of-Time (AOT) Compilation to generate binaries for one or multiple selected devices. For details about the AOT feature, please reference the Intel® oneAPI DPC++ Compiler Developer Guide and Reference.

There are currently three operating systems supported, Red Hat* 8.0, Ubuntu* 18.04, and Ubuntu 19.10. The directions to install the OCLOC are listed below.

8.1 Red Hat 8.0

To access OCLOC packages, add the repository to your system and then install the packages using dnf (Important: root permission is required)


cat << EOF | sudo tee /etc/yum.repos.d/intel-graphics.repo
[intel-graphics]
name=Intel Graphics Drivers Repository baseurl=https://repositories.intel.com/graphics/rhel/8.0/
enabled=1
gpgcheck=0
EOF
sudo dnf install intel-ocloc

8.2 Ubuntu 18.04

Note For Ubuntu 18.04, the distribution is bionic in the repository line below.

To access OCLOC packages, add the repository to your system and then install the packages using apt (Note: root permission is required)

cat << EOF | sudo tee /etc/apt/sources.list.d/intel-graphics.list
deb [trusted=yes arch=amd64] https://repositories.intel.com/graphics/ubuntu bionic main
EOF
sudo apt-get update
sudo apt-get install intel-ocloc
 

8.3 Ubuntu 19.10

Note For Ubuntu 19.10, the distribution is eoan in the repository line below.

To access OCLOC packages, add the repository to your system and then install the packages using apt (Note: root permission is required)

cat << EOF | sudo tee /etc/apt/sources.list.d/intel-graphics.list
deb [trusted=yes arch=amd64] https://repositories.intel.com/graphics/ubuntu eoan main
EOF
sudo apt-get update
sudo apt-get install intel-opencl-icd

9. Code Samples

We have code samples available for download on GitHub* to help you get started. You can clone them to your local machine directly from the following repositories:

For instructions on how to build and run Samples see Get Started With the Intel oneAPI Toolkits for Windows and for Linux .

10. Uninstall oneAPI Toolkits and components

10.1 Uninstall Intel PAC Card (Linux only)

To uninstall an installed software stack, you can run one of the following commands:

  • Intel PAC for Intel Arria 10 GX FPGA  
    aocl uninstall intel_a10gx_pac
  • Intel PAC for Intel Stratix 10 SX FPGA 
    aocl uninstall intel_s10sx_pac 

10.2 Uninstall oneAPI Toolkits

For Linux:  Use the following commands to uninstall oneAPI Toolkits:

cd /opt/intel/inteloneapi 
sudo ./install.sh

10.2.1 Use Linux Silent CLI 

  1. Change directory to the installation folder and create an empty silent_uninstall.cfg configuration file.
  2. Add “PSET_MODE=uninstall” and save the configuration file.
  3. Run the following command:
sudo ./install.sh --silent ./silent_uninstall.cfg

For Windows: Use the Add/Remove Programs option from the Control Panel to uninstall oneAPI Toolkits.

10.2.2 Use Windows Silent CLI

  1. Go to the installation folder.
  2. Create an empty silent_uninstall.cfg configuration file.
  3. Add “PSET_MODE=uninstall”
  4. Run the following command:
install.exe --silent silent_uninstall.cfg

10.2.3 Use Linux Package Manager

  • APT
sudo apt autoremove <package_name>
  • YUM
sudo yum autoremove <package_name>

10.3 Uninstall PyTorch and TensorFlow (Part of Intel® AI Analytics Toolkit)

10.3.1 Uninstall PyTorch

  1. Deactivate the pytorch environment, if activated.
  2. Uninstall using the following commands: 
    conda remove -p $<install_dir>/pytorch/1.1.0/ --all
    rm -rf $<install_dir>/pytorch

10.3.2 Uninstall TensorFlow

  1. Deactivate the tensorflow environment, if activated.
  2. Uninstall using the following commands:
    conda remove -p $<install_dir>/tensorflow/1.14.0/ --all
    rm -rf $<install_dir>/tensorflow

10.4 Uninstall the Intel® FPGA Add-on for oneAPI Base Toolkit

To uninstall a specific version of the Intel® FPGA Add-on for oneAPI Base Toolkit, use the following commands:

sudo chmod +w $<install_dir>/intelfpgadpcpp/<version>/ -R
sudo rm -rf $<install_dir>/intelfpgadpcpp/<version>/

 

1

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserverd for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804