wget https://download-ib01.fedoraproj ... .3-2.el6.x86_64.rpm
wget https://download-ib01.fedoraproj ... .5-1.el7.x86_64.rpm
yum install openblas-serial-0.3.3-2.el6.x86_64.rpm
yum install quantum-espresso-6.5-1.el7.x86_64.rpm
[root@localhost ~]# pw.x
Program PWSCF v.6.5 starts on 23Jul2020 at 15:51:18
This program is part of the open-source Quantum ESPRESSO suite
for quantum simulation of materials; please cite
"P. Giannozzi et al., J. Phys.:Condens. Matter 21 395502 (2009);
"P. Giannozzi et al., J. Phys.:Condens. Matter 29 465901 (2017);
URL http://www.quantum-espresso.org",
in publications or presentations arising from this work. More details at
http://www.quantum-espresso.org/quote
Serial version
Waiting for input...
下面对QE最关键的PWscf模块做简单测试。下载http://sobereva.com/attach/562/diamond.zip并解压,此任务是对金刚石做SCF计算。
QE是MPI和OpenMP混合方式并行的程序,实际并行核数是MPI进程数与每个下属的OpenMP线程数的乘积。
先测试纯MPI并行方式运行。进入diamond命令后,运行以下命令,使用4个MPI进程计算,每个MPI进程下属只有一个线程。
export OMP_NUM_THREADS=1
mpirun -n 4 pw.x < pwscf.in |tee pwscf.out
如果任务能正常完成,末尾显示JOB DONE,就说明已经装好了。注:如果不设置OMP_NUM_THREADS环境变量的话,机子有多少核,OpenMP就会用多少个线程。
然后再测试纯OpenMP并行方式运行。运行以下命令,将使用一个MPI进程下属4个OpenMP线程进行计算
export OMP_NUM_THREADS=4
pw.x < pwscf.in |tee pwscf.out
biogon 发表于 2020-7-23 16:15
cent os上貌似直接yum也是可以安装的,但是就比较慢

biogon 发表于 2020-7-23 16:15
cent os上貌似直接yum也是可以安装的,但是就比较慢
sobereva 发表于 2020-7-23 17:39
CentOS 7.x直接yum不了,CentOS 8.x可以直接yum install quantum-espresso,因此不用先wget一下。
冰释之川 发表于 2020-7-23 16:42
换个源康康?
biogon 发表于 2020-7-23 18:04
7.x能yum的啊,我刚给个7.4的机器yum了下,装的是qe6.5-1.el7 版本的
| 欢迎光临 计算化学公社 (http://bbs.keinsci.com/) | Powered by Discuz! X3.3 |