There is a new release every quarter of the year. There are two kits, the BaseKist and the HPCKit. The order matters on first install, so start with Basekit.
wget https://registrationcenter-download.intel.com/akdlm/irc_nas/17977/l_BaseKit_p_2021.3.0.3219_offline.sh
sudo bash l_BaseKit_p_2021.3.0.3219_offline.sh
wget https://registrationcenter-download.intel.com/akdlm/irc_nas/17912/l_HPCKit_p_2021.3.0.3230_offline.sh
sudo bash l_HPCKit_p_2021.3.0.3230_offline.sh
wget https://registrationcenter-download.intel.com/akdlm/irc_nas/17977/l_BaseKit_p_2021.3.0.3219_offline.sh
./l_BaseKit_p_2021.3.0.3219_offline.sh -a -s --eula accept --install-dir=$PWD/intel/oneapi --log-dir=$PWD/loghpc --action=install --intel-sw-improvement-program-consent=decline
wget https://registrationcenter-download.intel.com/akdlm/irc_nas/17912/l_HPCKit_p_2021.3.0.3230_offline.sh
./l_HPCKit_p_2021.3.0.3230_offline.sh -a -s --eula accept --install-dir=$PWD/intel/oneapi --log-dir=$PWD/loghpc --action=install --intel-sw-improvement-program-consent=decline
The installer has a bug that prevents installation on systems with GPFS file systems such as Hamilton. The trick is to set HOME to a non-gpfs directory, e.g. /tmp:
HOME=/tmp/home ./l_BaseKit_p_2021.3.0.3219_offline.sh -a -s --eula accept --install-dir=/absolute/path/intel/oneapi --log-dir=$PWD/loghpc --action=install --intel-sw-improvement-program-consent=decline
To use the software, there are two convenient methods. Using the setvars.sh script or (the preferred) use of modules.
The script comes with the installation of the kits and is found in the install location of oneAPI. It is good enough if there is only one version of oneAPI components available.
source /opt/intel/oneapi/setvars.sh
# or
source /opt/intel/oneapi/setvars.sh --force
In case of several installed versions of oneAPI, using modules has the advantage of being able to specify and switch between versions. After installation of the kits, this can be done to generate module files:
# Navigate to oneAPI root install dir
cd /path/to/intel/oneapi
./modulefiles-setup.sh
To make the oneAPI modules available to the system do e.g.
module use /path/to/intel/oneapi/modulefiles
module load compiler/2021.1.1
...
module load vtune
...
module swap compiler/2021.1.1 compiler/2021.3.0