Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1.21 KB

oneapi.md

File metadata and controls

36 lines (29 loc) · 1.21 KB

onapi安装

install oneapi

on centos intel original document

  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
  sudo mv /tmp/oneAPI.repo /etc/yum.repos.d
  yum install intel-oneapi-mkl

on ubuntu intel original document

  sudo apt update
  sudo apt install -y gpg-agent wget
  wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
  echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
  sudo apt update
  sudo apt install intel-oneapi-mkl
  sudo apt install intel-oneapi-mkl-devel