Skip to content

Instantly share code, notes, and snippets.

@giuliacassara
Last active December 29, 2022 19:21
Show Gist options
  • Save giuliacassara/af4730f1d0c7b73deacbdc20505f0e08 to your computer and use it in GitHub Desktop.
Save giuliacassara/af4730f1d0c7b73deacbdc20505f0e08 to your computer and use it in GitHub Desktop.
Install oneAPI DPC++/C++ Compiler on Ubuntu 20.04

Check system requirements

https://www.intel.com/content/www/us/en/developer/articles/system-requirements/intel-oneapi-dpcpp-system-requirements.html

Ubuntu 20.04

Download offline script file https://www.intel.com/content/www/us/en/developer/articles/tool/oneapi-standalone-components.html#dpcpp-cpp

Before downloading the offline version I downloaded the online version. Somehow the installation procedure freezed and I quitted with CTRL+C. But if you launch again the script it says "Another program is being installed". Fix: Intercept the zombie script with ps -aux and kill it.

Launch the script and accept the terms of agreement and the various options.

Then, go to the installation path and add ~/intel/oneapi to your bashrc file and source it.

source ~/intel/oneapi/setvars.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment