

intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic for icc.intel-oneapi-compiler-fortran for ifort.This are the three packages I’m usually using in my CI setups: Than again you have to setup your environment with source /opt/intel/oneapi/setvars.sh or with modules. Sudo apt-get install intel-oneapi-compiler-fortran Rm GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUBĮcho "deb all main" | sudo tee /etc/apt//oneAPI.list Sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB They indeed allow to install only a Fortran compiler (with some required add-ons) rather than the complete basekit and hpckit. I’m using those extensively in the GitHub actions workflow (I even created a continuous delivery based on the APT packages). Most of my Ubuntu using colleagues I recommended using the APT packages instead. Naming of the modules could definitely be improved, it takes some trial and error to find out which modules to load to get ifort and the MKL setup correctly, if you found your setup save the environment or create a meta module to load those in the future automatically. Makes life so much easier and the overhead from the setvars script is gone. You get this neat setup script you have to source, which you could add to your bashrc / zshrc, but I prefer to source them when I need the Intel compiler to keep my environment clean (also running the script is expensive in the shell startup): source /opt/intel/oneapi/setvars.shĪ real alternative if you have your own environment module system on your local machine (I use TCL modules locally because it was easier to install than lmod) are the generated TCL environment modules from oneAPI, but you have to generate them after installation: cd /opt/intel/oneapi/Įcho "module use /opt/intel/oneapi/modulefiles" > ~/.zshrc Sudo sh l_HPCKit_p_2021._offline.sh # Opens GUI installer, select your components, install Installation worked smoothly with the shipped GUI installers, I selected everything except for the Intel Python distribution (because of disk space usage when having five or more compilers already installed) sudo sh l_BaseKit_p_2021._offline.sh # Opens GUI installer, select your components, install I used the offline installers, though, since I prefer to separate the downloading step from the installation. The right way of installing under Arch derivatives would be to setup a custom PKGBUILD, but for Intel I usually make an exception. Running under Linux the setup was quite straight-forward, much less painful than I remember reinstalling Intel Parallel Studio XE (always took me half a day).Īs an user of a “non-standard” Linux distribution (Manjaro Linux) I went for the basekit and hpckit installers.
