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

  1. 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
    
  2. 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
    
  3. 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.

  1. Once downloaded, make sure there are >=270~ rpm packages in the /install/post/otherpkgs/rhels8.6.0/x86_64/custom_software/Packages/ directory.

  2. Inside the /install/post/otherpkgs/<Provision OS.Version>/x86_64/custom_software folder, create a file named update.otherpkgs.pkglist with the contents:

    custom_software/intel-basekit
    custom_software/intel-hpckit
    
  3. Go to utils/os_package_update and edit package_update_config.yml. For more information on the input parameters, click here.

  4. Run package_update.yml using : ansible-playbook package_update.yml

  5. After execution is completed, verify that intelhpckit and basekit 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.