24小时热门版块排行榜    

Znn3bq.jpeg
查看: 3744  |  回复: 8
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

xiongb123456

铜虫 (小有名气)

[求助] 使用vasp计算cineb一定要编译vtstcode吗?

如题
我这几天在计算cineb
下载了vtstscripts 用nebmake.pl生成的images进行的计算
对于计算的结果我使用vfin.pl想输出结果 可是总是输出不了
昨天和朋友讨论 朋友说我没有编译vtstcode
我想问这个vtstcode要如何编译呐?

网站上是这样写的
Version 2.04b, Oct. 26, 2011
VTST Code: vtstcode.tar.gz
VTST Scripts: vtstscripts.tar.gz
NOTE: in v2.04 and later versions, there is an addition modification to main.F which is required for the solid-state NEB.
Find and replace:
      CALL CHAIN_FORCE(T_INFO%NIONS,DYN%POSION,TOTEN,TIFOR, &
           LATT_CUR%A,LATT_CUR%B,IO%IU6)

with
      CALL CHAIN_FORCE(T_INFO%NIONS,DYN%POSION,TOTEN,TIFOR, &
           TSIF,LATT_CUR%A,LATT_CUR%B,IO%IU6)

我想问我把vtstcode解压了以后 为啥找不到main.F这个文件呐?
有具体点的编译vtstcode的教程的网页吗?
望帮助 THANKS
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

likai0106

金虫 (小有名气)

【答案】应助回帖

★ ★ ★ ★ ★
xiongb123456: 金币+5, 有帮助 2012-06-28 10:31:33
引用回帖:
3楼: Originally posted by xiongb123456 at 2012-06-27 14:16:34
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 ...

在makefile中找到带有这些目标的库的行在里面加上这些他需要集成到vasp中的过渡态算法就行了(这些编译过程*.f已经存在,就是刚才解压到vasp目录下的问价,只要将目标函数给出他们就会自动生成了。)。注意这些目标函数的顺序。
4楼2012-06-27 15:09:38
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 9 个回答

likai0106

金虫 (小有名气)

【答案】应助回帖

★ ★ ★ ★ ★
感谢参与,应助指数 +1
xiongb123456: 金币+5, 有帮助 2012-06-27 14:16:49
你把解压vtstcode后所有的文件拷贝到vasp编译目录下,之后修改main.F,还要修改makefile后面的目标文件,你的那个网站上有详细说明,仔细看看,不难。
2楼2012-06-27 13:53:30
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

xiongb123456

铜虫 (小有名气)

引用回帖:
2楼: Originally posted by likai0106 at 2012-06-27 13:53:30
你把解压vtstcode后所有的文件拷贝到vasp编译目录下,之后修改main.F,还要修改makefile后面的目标文件,你的那个网站上有详细说明,仔细看看,不难。

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.
求解释
3楼2012-06-27 14:16:34
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

xiongb123456

铜虫 (小有名气)

引用回帖:
4楼: Originally posted by likai0106 at 2012-06-27 15:09:38
在makefile中找到带有这些目标的库的行在里面加上这些他需要集成到vasp中的过渡态算法就行了(这些编译过程*.f已经存在,就是刚才解压到vasp目录下的问价,只要将目标函数给出他们就会自动生成了。)。注意这些目标 ...

我按照网站所提的方法将main.F和makefile都改了
但是你所说的只要将目标函数给出他们就会自动生成了
自动生成在了何处?
为什么我一直没找到没看见呐?
5楼2012-06-28 10:33:13
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 本科211 工科085400 280分求调剂 可跨专业 +10 LZH(等待调剂中 2026-04-10 10/500 2026-04-10 21:47 by fxue1114
[考研] 一志愿东北大学控制工程085406数二英二385,求调剂 +6 Ezra_Zhang 2026-04-09 6/300 2026-04-10 16:23 by 高维春
[考研] 282,求调剂 +10 jggshjkkm 2026-04-09 12/600 2026-04-10 14:53 by 逆水乘风
[基金申请] 有爆料,一个青年教师卖房得400万,然后换了一个四青帽子 +9 babu2015 2026-04-08 9/450 2026-04-10 11:43 by 苏东坡二世
[考研] 292求调剂 +9 笑笑袁 2026-04-09 9/450 2026-04-10 10:05 by LHGeng
[考研] 一志愿中科大070300化学,314分求调剂 +12 wakeluofu 2026-04-09 12/600 2026-04-10 09:57 by liuhuiying09
[考研] 调剂 +4 青灯不负 2026-04-09 4/200 2026-04-10 09:55 by LHGeng
[考研] 314求调剂 +14 weltZeng 2026-04-09 14/700 2026-04-09 23:14 by wolf97
[考研] 0703化学求调剂 +21 不知名的小卅 2026-04-08 21/1050 2026-04-09 18:55 by l_paradox
[考研] 348求调剂 +3 candyyyi 2026-04-09 3/150 2026-04-09 17:20 by 段伟艳
[考研] 考研调剂 +13 冰冰,,, 2026-04-07 13/650 2026-04-09 17:01 by Lilly_Li
[考研] 368化学求调剂 +13 wwwwabcde 2026-04-07 14/700 2026-04-09 14:47 by heaven_jay
[考研] 机械专硕273请求调剂 +6 庚申壬申 2026-04-07 6/300 2026-04-08 22:41 by bljnqdcc
[考研] 土木水利专硕276分求调剂 +6 我想上学!!6 2026-04-05 9/450 2026-04-08 17:45 by 宋小宝HQ
[考研] 农学,求调剂,314分 +4 访客记录可爱 2026-04-04 4/200 2026-04-07 21:07 by 等岸
[考研] 材料与化工363求推荐 +11 zh096 2026-04-04 11/550 2026-04-06 19:14 by guanxin1001
[考研] 324求调剂 +3 k可乐 2026-04-05 4/200 2026-04-06 09:54 by 蓝云思雨
[考研] 一志愿北交大材料工程总分358求调剂 +6 cs0106 2026-04-05 6/300 2026-04-05 16:34 by imissbao
[考研] 081200-11408-276学硕求调剂 +4 崔wj 2026-04-04 5/250 2026-04-05 14:06 by imissbao
[考研] 313求调剂 +3 海日海日 2026-04-04 3/150 2026-04-05 07:48 by 544594351
信息提示
请填处理意见