计算化学公社

标题: vasp安装报错求助,求大神解惑 [打印本页]

作者
Author:
GEEK    时间: 2021-8-17 16:07
标题: vasp安装报错求助,求大神解惑
各位大神好,编译遇到两个棘手问题

软件编译环境GCC/8.3.0       fftw/3.3.8    lapack/3.8.0   MPI/mvapich2-2.2/gcc8.3.0         hdf5/1.8.18    scalapack/2.0.2   blas/3.7.0

问题1
安装vasp5.4.4可以正常编译,加上VTST就好报错:
chain.f90:111:8:

  111 |     USE instanton
      |        1
Fatal Error: Cannot open module file ‘instanton.mod’ for reading at (1): No such file or directory
compilation terminated.
make[2]: *** [makefile:169: chain.o] Error 1


问题2
安装vasp6.1.1报错
string.f90:295:12:

         use ieee_arithmetic, only: ieee_is_normal
            1
致命错误: Can't open module file ‘ieee_arithmetic.mod’ for reading at (1): 没有那个文件  或目录
编译中断。
make[2]: *** [string.o] 错误 1


关于问题2,尝试更换过GCC版本,试过5.5 8.3 9.3 10.3版本,均出现同样的问题,makefile.include只修改了LIB部分。
各位大神有没有解决这种问题的思路或建议,谢谢大家!!!


作者
Author:
abin    时间: 2021-8-17 16:26
VASP从头编译: 包含系统安装, 系统组件准备, 编译套件安装, vasp源码编译
https://www.cailiaoren.com/vinfo ... ;id=11&vid=1927

作者
Author:
abin    时间: 2021-8-17 20:57
VTST 适用于v5.4.4和v6.1.1的版本不同.
选错了版本, 同样都可以patch, 然后可能无法编译.

试试vtst.v179.

仅供参考.

我编译的版本, 理论上支持AVX2指令集的处理器,
包含了, 你需要的那些组件.



作者
Author:
GEEK    时间: 2021-8-18 17:24
abin 发表于 2021-8-17 16:26
VASP从头编译: 包含系统安装, 系统组件准备, 编译套件安装, vasp源码编译
https://www.cailiaoren.com/vin ...

这个教程是Intel编译器安装的,我的不是Intel的cpu,所以使用gcc编译的,报错还没找到解决方法
作者
Author:
GEEK    时间: 2021-8-18 17:26
abin 发表于 2021-8-17 20:57
VTST 适用于v5.4.4和v6.1.1的版本不同.
选错了版本, 同样都可以patch, 然后可能无法编译.

感谢您的解答,我试一下
作者
Author:
snljty    时间: 2021-8-19 10:45
GEEK 发表于 2021-8-18 17:24
这个教程是Intel编译器安装的,我的不是Intel的cpu,所以使用gcc编译的,报错还没找到解决方法

Intel编译器没有限制只能在Intel的CPU上用。在AMD的CPU上编译出来性能也是不错的。
作者
Author:
qq0057655320    时间: 2021-8-20 10:38
多谢大佬的分析。
作者
Author:
GEEK    时间: 2021-8-21 10:01
snljty 发表于 2021-8-19 10:45
Intel编译器没有限制只能在Intel的CPU上用。在AMD的CPU上编译出来性能也是不错的。

是啊,都是X86架构的啊,我的cpu是arm架构的,指令集不一样所以没法使用Intel的编译器
作者
Author:
GEEK    时间: 2021-8-21 10:03
感谢各位的解答,在ARM架构使用GCC编译器已经找到解决方案,就是在GCC后增加兼容行参数就可以。谢谢大家
解决方法:< CPP        = gcc -nostdinc -E -P -C -w $*$(FUFFIX) >$*$(SUFFIX) $(CPP_OPTIONS)




欢迎光临 计算化学公社 (http://bbs.keinsci.com/) Powered by Discuz! X3.3