quantum espresso安裝(基于WSL下ubuntu系統(tǒng) 調(diào)用oneapi)
適用情況:自己有電腦,后面可能還要安裝vasp(oneapi安裝vasp真的很方便)
系統(tǒng)安裝之后apt update upgrade
安裝gcc g++ gfortran
安裝make build-essential m4 git? awk sed
安裝oneapi,對(duì)oneapi的setvars進(jìn)行source操作;安裝后在fftw對(duì)應(yīng)模塊下make libintel64(安裝時(shí)如果調(diào)用sudo的話可能出現(xiàn)訪問權(quán)限問題,建議不要在安裝時(shí)采用sudo)
安裝hdf5文件系統(tǒng)(可選)
參考文章https://www.bilibili.com/read/cv22940720/? ?執(zhí)行./configure,加入--with-scalapack=intel 和--with-hdf5=yes. 修改make.inc 的時(shí)候記得加入hdf5的庫,不需要更改MKL路徑,BLAS等庫的位置也不需要輸入MKL路徑。
隨后make all
進(jìn)入test-suite進(jìn)行測(cè)試
最后sudo make install
make install后無需進(jìn)行export path
標(biāo)簽: