24小时热门版块排行榜    

查看: 3037  |  回复: 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 两三岁ss 2026-09-14 4/200 2026-09-14 20:29 by 班主任的同桌
[找工作] 售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急 +3 s3fFTmArrBt6 2026-09-14 4/200 2026-09-14 17:48 by Aj1rhIDL5ixY
[公派出国] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +3 LwdutQ8HoqWP 2026-09-13 5/250 2026-09-14 16:25 by Aj1rhIDL5ixY
[考研] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +4 LwdutQ8HoqWP 2026-09-13 4/200 2026-09-14 16:12 by Aj1rhIDL5ixY
[找工作] 售SCI一区文章,我:8O5.5.1.O5.4,科目全,可伽急 +4 3n8v2C8RimXI 2026-09-13 4/200 2026-09-14 16:00 by Aj1rhIDL5ixY
[博后之家] 售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急 +4 3n8v2C8RimXI 2026-09-13 4/200 2026-09-14 15:57 by Aj1rhIDL5ixY
[教师之家] 售SCI一区T0P文章,我:8.O.55.1.O.54,科目齐全,可+急 +4 3n8v2C8RimXI 2026-09-13 4/200 2026-09-14 15:48 by Aj1rhIDL5ixY
[考研] 售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急 +3 3n8v2C8RimXI 2026-09-13 4/200 2026-09-14 15:45 by Aj1rhIDL5ixY
[找工作] 售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急 +5 QUjhNVAcOSff 2026-09-13 6/300 2026-09-14 15:21 by Aj1rhIDL5ixY
[考博] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +4 QUjhNVAcOSff 2026-09-13 4/200 2026-09-14 15:13 by Aj1rhIDL5ixY
[硕博家园] 售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急 +3 QUjhNVAcOSff 2026-09-13 3/150 2026-09-14 15:09 by Aj1rhIDL5ixY
[博后之家] 售SCI一区T0P文章,我:8O.55.1.O.54,科目全,可伽急 +3 QUjhNVAcOSff 2026-09-13 4/200 2026-09-14 15:01 by Aj1rhIDL5ixY
[公派出国] 售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急 +4 QUjhNVAcOSff 2026-09-13 6/300 2026-09-14 15:00 by Aj1rhIDL5ixY
[基金申请] 求教各位大神:2026教育部人文社科青年基金项目何时公示呀? +5 云宴山人 2026-09-10 7/350 2026-09-14 12:11 by ecnu2013
[找工作] 浙江师范大学是怎么坑我的 +6 recruit123 2026-09-09 6/300 2026-09-14 12:00 by 萨仁其其格
[考研] 售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急 +3 QUjhNVAcOSff 2026-09-13 4/200 2026-09-14 10:01 by 23jxep3nCNZb
[考博] 西北工业大学材料学院电化学传感与催化课题组招收2027年推免研究生、博士生、博士后 +3 马方园 2026-09-10 4/200 2026-09-14 09:29 by Chem张zz
[考博] 27秋季材料博士申请求助 10+3 Cahal1 2026-09-11 4/200 2026-09-14 08:50 by 北京莱茵编辑
[教师之家] 浙江师范大学是怎么坑我的 +10 recruit123 2026-09-09 15/750 2026-09-13 10:45 by seaskyy
[基金申请] 面上有专家说实验设备不是我们单位的 +6 zj_muchong 2026-09-08 8/400 2026-09-11 06:56 by suifengdao
信息提示
请填处理意见