计算化学公社

标题: 可用于计算vdW的vasp编译问题 [打印本页]

作者
Author:
didi_dudu    时间: 2016-1-28 15:43
标题: 可用于计算vdW的vasp编译问题
本帖最后由 didi_dudu 于 2016-1-28 17:27 编辑

想用vasp跑一下分子动力学,过程中要引入vdW。然而计算时候报错
vdW-DF calculation: either NGZhalf or NGXhalf needs to be used for compilation

我重新编译了一下vasp,加入了
CPP    = $(CPP_) -DMPI  -DHOST=\"LinuxIFC\" -DIFC \
     -DCACHE_SIZE=4000 -DPGF90 -Davoidalloc \
     -DMPI_BLOCK=500 -NGZhalf
然而编译通过之后 计算依然要报错。求高人指导编译方法!
附上我的Makefile


作者
Author:
卡开发发    时间: 2016-1-28 16:46
我用的是这样的:
$(CPP_) -DMPI -DHOST=\"LinuxIFC\" -DIFC \ -DCACHE_SIZE=4000 -DPGF90 -Davoidalloc -DNGZhalf \ -DMPI_BLOCK=8000 -Duse_collective -DRPROMU_DGEMV -DRACCMU_DGEMV一般应该没啥问题,我这边是5.3的版本。

注意一下有没有版本上造成的问题:
This method is available since the 5.2.12.26May2011 version of VASP for the calculation of total energies and forces. The
stress calculation for the cell optimisation (ISIF=3) is available since the VASP 5.2.12.11Nov2011 version for spin unpolarised systems。
把报错信息发来看看。

作者
Author:
didi_dudu    时间: 2016-1-28 17:27
卡开发发 发表于 2016-1-28 16:46
我用的是这样的:
$(CPP_) -DMPI -DHOST=\"LinuxIFC\" -DIFC \ -DCACHE_SIZE=4000 -DPGF90 -Davoidalloc - ...

output里面有报错信息。我正在按照你给的CPP重新编译 谢谢!
作者
Author:
卡开发发    时间: 2016-1-28 20:30
didi_dudu 发表于 2016-1-28 17:27
output里面有报错信息。我正在按照你给的CPP重新编译 谢谢!

找到问题了,makefile上下有两个CPP,关掉一个。第二个CPP指定的是-NGZhalf ,应该指定-DNGZhalf 。
作者
Author:
didi_dudu    时间: 2016-1-28 21:50
卡开发发 发表于 2016-1-28 20:30
找到问题了,makefile上下有两个CPP,关掉一个。第二个CPP指定的是-NGZhalf ,应该指定-DNGZhalf 。

能不能给我一个你的vasp的Makefile呢?谢谢!
作者
Author:
卡开发发    时间: 2016-1-28 22:23
didi_dudu 发表于 2016-1-28 21:50
能不能给我一个你的vasp的Makefile呢?谢谢!

(, 下载次数 Times of downloads: 40)





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