24小时热门版块排行榜    

查看: 2666  |  回复: 15

xiongb123456

铜虫 (小有名气)

引用回帖:
10楼: Originally posted by liliangfang at 2012-06-27 11:36:43
在论坛里面搜一下vasp的安装教程,选取makefile,然后再修改,如果你是ifort编译就选后缀是ifc-p4的

The code for the NEB, dimer, Lanczos, and dynamical matrix methods, as well as the steepest descent, force-based conjugate gradient, quick-min, lbfgs, bfgs, and fire optimizers are contained in a single package which interfaces to VASP through the chain.F file. To install, download the package vtstcode.tar.gz into your vasp source directory. The file chain.F is replaced, so back up the old version. There are eleven other files in the package, neb.F, dynmat.F, dimer.F, lanczos.F, sd.F, cg.F, qm.F, lbfgs.F, bfgs.F, fire.F, and opt.F. To build the code, the VASP makefile needs to be changed. Find the variable SOURCE, which defines which objects will be built. Replace the line
  tet.o  hamil.o  steep.o   \

with the lines
         tet.o      hamil.o    steep.o  dimer.o  dynmat.o  neb.o  lanczos.o  instanton.o \
         sd.o       cg.o       qm.o     lbfgs.o  bfgs.o  fire.o   opt.o   \

The objects dynmat.o, neb.o, dimer.o, lanczos.o, and instanton.o must be in the SOURCE list before chain.o appears. The optimizer objects, sd.o, cg.o, qm.o, lbfgs.o, bfgs.o, and fire.o must appear before the optimizer driver opt.o. Nothing else needs to be done. This code will not change the working of any other part of vasp. This code will only be run if IMAGES is set in the INCAR file, or if ICHAIN is set, to specify which method should be run.

我按照网页上的指导做到了这一步 我想问最后一段的The objects dynmat.o, neb.o, dimer.o, lanczos.o, and instanton.o must be in the SOURCE list before chain.o appears. The optimizer objects, sd.o, cg.o, qm.o, lbfgs.o, bfgs.o, and fire.o must appear before the optimizer driver opt.o.这两句话是什么意思? 我应该在修改这些之前创建这些文件夹吗? 这一点我有些不解 求解释 谢谢
11楼2012-06-27 12:41:42
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

liliangfang

荣誉版主 (著名写手)

引用回帖:
11楼: Originally posted by xiongb123456 at 2012-06-27 12:41:42
The code for the NEB, dimer, Lanczos, and dynamical matrix methods, as well as the steepest descent, force-based conjugate gradient, quick-min, lbfgs, bfgs, and fire optimizers are contained in a si ...

请看我在2楼的回帖,你要下载code拷贝到vasp。5.2中,然后修改main.f,有后修改makefile
12楼2012-06-27 14:49:33
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

xiongb123456

铜虫 (小有名气)

引用回帖:
12楼: Originally posted by liliangfang at 2012-06-27 14:49:33
请看我在2楼的回帖,你要下载code拷贝到vasp。5.2中,然后修改main.f,有后修改makefile...

按照这样改完了 就算编译成功了吗?
我已经按照上面所说的 将main.F 和makefile都改了
可是我好像没有在我的vasp5.2中看到下面这句话里所提到的XXXX.o这类文件。The objects dynmat.o, neb.o, dimer.o, lanczos.o, and instanton.o must be in the SOURCE list before chain.o appears. The optimizer objects, sd.o, cg.o, qm.o, lbfgs.o, bfgs.o, and fire.o must appear before the optimizer driver opt.o.
请问这样算编译成功了吗?
13楼2012-06-28 10:29:45
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

liliangfang

荣誉版主 (著名写手)

引用回帖:
13楼: Originally posted by xiongb123456 at 2012-06-28 10:29:45
按照这样改完了 就算编译成功了吗?
我已经按照上面所说的 将main.F 和makefile都改了
可是我好像没有在我的vasp5.2中看到下面这句话里所提到的XXXX.o这类文件。The objects dynmat.o, neb.o, dimer.o, lanczos ...

14楼2012-06-28 11:40:26
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

xiongb123456

铜虫 (小有名气)

引用回帖:
14楼: Originally posted by liliangfang at 2012-06-28 11:40:26
...

我搞明白了 谢谢斑竹哈
我是新手 有点很菜的
15楼2012-06-29 09:09:22
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

xiongb123456

铜虫 (小有名气)

引用回帖:
14楼: Originally posted by liliangfang at 2012-06-28 11:40:26
...

需要您们的鼓励与帮助撒
16楼2012-06-29 09:09:53
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 liufeila 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 上海电力大学材料防护与新材料重点实验室招收调剂研究生(材料、化学、电化学,环境) +4 我爱学电池 2026-03-23 4/200 2026-03-25 00:59 by 1027_324
[考研] 招08考数学 +7 laoshidan 2026-03-20 16/800 2026-03-24 17:52 by 乌拉儿山脉
[考研] 0854 考研调剂 招生了!AI 方向 +5 pk3725069 2026-03-19 17/850 2026-03-24 17:30 by zhouxuan..
[考研] 一志愿南航材料专317分求调剂 +5 炸呀炸呀炸薯条 2026-03-23 5/250 2026-03-24 16:52 by 星空星月
[考研] 080500求调剂 +3 zzzzfan 2026-03-24 3/150 2026-03-24 16:38 by barlinike
[考研] 299求调剂 +7 某某某某位 2026-03-21 7/350 2026-03-24 15:24 by cuifj
[考研] 求调剂一志愿武汉理工大学材料工程(085601) +5 WW.' 2026-03-23 7/350 2026-03-24 14:50 by sprinining
[考研] 一志愿华东理工大学081700,初试分数271 +5 kotoko_ik 2026-03-23 6/300 2026-03-24 10:29 by 学术搬砖er
[考博] 26申博自荐 +3 whh869393 2026-03-24 3/150 2026-03-24 09:55 by 21018060
[考研] 一志愿山东大学药学学硕求调剂 +3 开开心心没烦恼 2026-03-23 4/200 2026-03-24 00:06 by 开开心心没烦恼
[考研] 一志愿中南大学化学学硕0703总分337求调剂 +5 niko- 2026-03-22 5/250 2026-03-23 22:01 by fuyu_
[考研] 336求调剂 +4 收到VS 2026-03-20 4/200 2026-03-23 19:02 by macy2011
[考研] 336化工调剂 +4 王大坦1 2026-03-23 5/250 2026-03-23 18:32 by allen-yin
[论文投稿] 急发核心期刊论文 +3 贤达问津 2026-03-23 5/250 2026-03-23 17:13 by 妹子不好惹
[考研] 323求调剂 +6 洼小桶 2026-03-18 6/300 2026-03-23 00:29 by king123!
[考研] 一志愿华中农业071010,总分320求调剂 +5 困困困困坤坤 2026-03-20 6/300 2026-03-22 17:41 by hxsm
[考研] 319求调剂 +4 小力气珂珂 2026-03-20 4/200 2026-03-22 15:53 by ColorlessPI
[考研] 材料 271求调剂 +5 展信悦_ 2026-03-21 5/250 2026-03-21 17:29 by 学员8dgXkO
[考研] 一志愿南昌大学,327分,材料与化工085600 +9 Ncdx123456 2026-03-19 9/450 2026-03-20 23:41 by lovewei0727
[考研] 一志愿福大288有机化学,求调剂 +3 小木虫200408204 2026-03-18 3/150 2026-03-19 13:31 by houyaoxu
信息提示
请填处理意见