Ubuntu18.04安装Intel® oneAPI Toolkit
生活随笔
收集整理的這篇文章主要介紹了
Ubuntu18.04安装Intel® oneAPI Toolkit
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
一、安裝前準備
1.1 更新系統安裝必要軟件
安裝Intel? oneAPI HPC Toolkit之前推薦把系統更新至最新。
zhy@pc:~$ sudo apt update zhy@pc:~$ sudo apt upgrade zhy@pc:~$ sudo apt -y install openssh-server vim1.2 安裝依賴
zhy@pc:~$ sudo apt -y install gcc cmake pkg-config build-essential1.3 上傳Intel? oneAPI Toolkit?
zhy@pc:~$ ls Desktop examples.desktop Music Templates Documents l_BaseKit_p_2021.2.0.2883_offline.sh Pictures Videos Downloads l_HPCKit_p_2021.2.0.2997_offline.sh Public zhy@pc:~$二、安裝
2.1 安裝Intel? oneAPI Base Toolkit
zhy@pc:~$ bash l_BaseKit_p_2021.2.0.2883_offline.sh2.2 安裝Intel? oneAPI HPC Toolkit
zhy@pc:~$ bash l_HPCKit_p_2021.2.0.2997_offline.sh2.3 加載環境變量
zhy@pc:~$ . ~/intel/oneapi/setvars.sh :: initializing oneAPI environment ...bash: BASH_VERSION = 4.4.20(1)-release :: advisor -- latest :: ccl -- latest :: clck -- latest :: compiler -- latest :: dal -- latest :: debugger -- latest :: dev-utilities -- latest :: dnnl -- latest :: dpcpp-ct -- latest :: dpl -- latest :: inspector -- latest :: intelpython -- latest :: ipp -- latest :: ippcp -- latest :: ipp -- latest :: itac -- latest :: mkl -- latest :: mpi -- latest :: tbb -- latest :: vpl -- latest :: vtune -- latest :: oneAPI environment initialized ::或者添加到.bashrc文件:
注意添加到.bashrc文件后,會導致SFTP和scp傳輸這臺主機不可用。這是加載oneApi環境時輸出的echo語句導致的。
zhy@pc:~$ vi ~/.bashrc2.4 簡單測試
輸入mpirun和ifort -v能輸出相應的信息就安裝配置成功了。
總結
以上是生活随笔為你收集整理的Ubuntu18.04安装Intel® oneAPI Toolkit的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Ubuntu18.04安装配置jmol
- 下一篇: Ubuntu18.04安装Gaussia