|
本帖最后由 funok 于 2021-8-9 19:44 编辑
安装QE 6.8 并使用pslibrary 1.0.0 生成相应的赝势文件
系统:centos linux release 7.6.1810
预装软件:Intel parallel studio xe 2015(软件安装路径:/opt/intel2015)(intel 2019也可以使用)
下载地址:
QE6.8 :https://github.com/QEF/q-e/releases
pslibrary 1.0.0: https://github.com/dalcorso/pslibrary
(1) 安装QE6.8:
source /opt/intel2015/bin/compilervars.sh intel64
source /opt/intel2015/mkl/bin/mklvars.sh intel64
source /opt/intel2015/impi/5.0.3.049/intel64/bin/mpivars.sh
./configure --prefix=/home/qe
make all install
make.inc 文件中的编译选项为:
MPIF90=mpiifort
F90=ifort
CC=icc
注:运行./configure --prefix=/home/qe之后,当显示如下内容代表并行环境配置成功。
Parallel environment detected successfully.\
Configured for compilation of parallel executables.
(2) 使用pslibrary 1.0.0 生成相应的赝势文件:
在pslibrary 1.0.0 文件夹中,修改QE_path文件中的QE的路径为对应QE安装包的路径,而后运行以下命令即可生成相应的赝势文件
注:使用同样的方法安装qe-6.6,而后使用社长的帖子http://sobereva.com/562中提供的测试例子,可以正常计算,但后续使用pslibrary 1.0.0生成相应的赝势文件无法使用。
赝势文件可以使用./make_all_test进行测试。
参考网址:
https://www.cnblogs.com/HPC-TOP/p/13259676.html
http://sobereva.com/562
https://yyyu200.github.io/DFTboo ... 01/InstallandLinux/
https://github.com/dalcorso/pslibrary
2021.08.08注:使用上述方法安装的QE在跨节点计算时,会报错(可能是我哪里配置的不对)

2021.08.09注:参照上述方法,只声明mkl的环境变量,并使用openmpi-3.1.4,安装qe-6.8时,可以正常安装,并可以使用pslibrary正常生成赝势文件。
make.inc文件的部分内容:
MPIF90 = mpif90
F90 = gfortran
CC = gcc
BLAS_LIBS = -lmkl_gf_lp64 -lmkl_sequential -lmkl_core
SCALAPACK_LIBS = -lmkl_scalapack_lp64 -lmkl_blacs_openmpi_lp64
在同一台机器上,运行社长提供的diamond例子时,intelmpi+icc+ifort+intle_mkl编译生成的执行程序略快于使用openmpi+gcc+gfortran+intel_mkl编译生成的pw.x。
|
评分 Rate
-
查看全部评分 View all ratings
|