Install oneAPI for MPI jobs
Pre-requisites
An Omnia slurm cluster running with at least 2 nodes: 1 manager and 1 compute.
Verify that the target nodes are in the
booted
state. For more information, click here.
Download and install Intel oneAPI base toolkit & Intel oneAPI HPC toolkit to control plane
Create the DNF repository file in the
/temp
directory as a normal user.tee > /tmp/oneAPI.repo << EOF [oneAPI] name=Intel® oneAPI repository baseurl=https://yum.repos.intel.com/oneapi enabled=1 gpgcheck=1 repo_gpgcheck=1 gpgkey=https://yum.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB EOF
Move the newly created
oneAPI.repo
file to the YUM configuration directory./etc/yum.repos.d: sudo mv /tmp/oneAPI.repo /etc/yum.repos.d
Switch to the
/install/post/otherpkgs/<Provision OS.Version>/x86_64/custom_software/Packages/
folder and execute:
For example: cd /install/post/otherpkgs/rhels8.6.0/x86_64/custom_software/Packages/
.
dnf download intel-basekit --resolve --alldeps -y
dnf download intel-hpckit --resolve --alldeps -y
Note
Use alldeps -y
to download all dependencies related to OneAPI.
Once downloaded, make sure there are >=270~ rpm packages in the
/install/post/otherpkgs/rhels8.6.0/x86_64/custom_software/Packages/
directory.Inside the
/install/post/otherpkgs/<Provision OS.Version>/x86_64/custom_software
folder, create a file namedupdate.otherpkgs.pkglist
with the contents:custom_software/intel-basekit custom_software/intel-hpckit
Go to
utils/os_package_update
and editpackage_update_config.yml
. For more information on the input parameters, click here.Run
package_update.yml
using :ansible-playbook package_update.yml
After execution is completed, verify that
intelhpckit
andbasekit
packages are on the nodes using:rpm -qa | grep intel
If you have any feedback about Omnia documentation, please reach out at omnia.readme@dell.com.