24小时热门版块排行榜    

Znn3bq.jpeg
查看: 986  |  回复: 1
【悬赏金币】回答本帖问题,作者sin81将赠送您 10 个金币

sin81

金虫 (正式写手)

[求助] vasp5.4.1或vasp6.1.2 如何跟wannier 2.0以上版本对接 已有1人参与

请问vasp5.4.1或vasp6.1.2 如何跟wannier 2.0以上版本编译,网上查到的是与vasp5.4.4对接的补丁文件。同样方法用到vasp6.1.2上,编译都过不了,vasp5.4.1能编译成功,但最后计算的时候, .wout 文件开头还是显示:Release: 1.2        24th Jan 2010  。
磁性的计算,不加soc时,projection里面不识别(u) (d)的符号。比如写: dxy  (u,d) 就报错,
请问如何解决?
回复此楼

» 猜你喜欢

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

rlafite

木虫 (正式写手)

【答案】应助回帖

Compiling VASP 5.4 with Wannier90
VASP has to be compiled with reference to the library file libwannier.a. The instructions on the vasp website can be found at https://cms.mpi.univie.ac.at/wiki/index.php/LWANNIER90.

The instructions at the above link seem to be somewhat out-of-date (as of 6/2019), since VASP upgraded its build system and now the makefile in the root directory does not include any of the flags that need to be changed. Instead do the following:

First copy the relevant make.include file to the root directory. In our case, we have

$ cp arch/makefile.include.linux_intel ./makefile.include
Edit this makefile.include file to change:

CPP_OPTIONS = ...
     ...
     -Duse_shmem
to

CPP_OPTIONS = ...
     ...
     -Duse_shmem\      
     -DVASP2WANNIER90v2
and

LLIBS      = $(SCALAPACK) $(LAPACK) $(BLAS)                                 
to

LLIBS      = $(SCALAPACK) $(LAPACK) $(BLAS)                                 
LLIBS     += /<path-to-wannier90-2.1>/libwannier.a
where <path-to-wannier90-2.1> is the full directory to Wannier90 that was built.

Now build VASP:

$ make all
The last step will take a while, but that includes everything that needs to be done.
2楼2024-02-23 10:00:44
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 sin81 的主题更新
不应助 确定回帖应助 (注意:应助才可能被奖励,但不允许灌水,必须填写15个字符以上)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 327求调剂 +25 Xxjc1107. 2026-04-13 28/1400 2026-04-16 09:45 by 学员JpLReM
[考研] 284求调剂 +21 让我上岸吧阿西 2026-04-09 21/1050 2026-04-15 21:53 by noqvsozv
[考研] 297,工科调剂? +10 河南农业大学-能 2026-04-14 10/500 2026-04-15 21:50 by noqvsozv
[考研] 322求调剂 +7 123安康 2026-04-12 14/700 2026-04-15 21:48 by noqvsozv
[考研] 307中医考研调剂 +4 于以采蘩 2026-04-14 4/200 2026-04-15 19:14 by AN流800
[考研] 290求调剂 +21 luoziheng 2026-04-10 23/1150 2026-04-14 15:49 by zs92450
[考研] 本科西工大 324求调剂 +5 wysyjs25 2026-04-10 5/250 2026-04-13 23:08 by pies112
[考研] 求调剂,985材料与化工348分 +9 涵竹刘 2026-04-11 14/700 2026-04-13 22:26 by 涵竹刘
[考研] B区0809 ,数一英一,290 求调剂 +3 泠潍1111 2026-04-12 4/200 2026-04-13 20:35 by 学员JpLReM
[基金申请] 2026 WR青拔 +3 冬日阳光CAS 2026-04-09 6/300 2026-04-13 18:40 by liuchb715
[考研] 一志愿双非085400电子信息344 求调剂,对材料和化学方向也感兴趣 +12 无情的小羊 2026-04-09 13/650 2026-04-13 14:17 by 张zhihao
[考研] +10 李多米lee. 2026-04-12 11/550 2026-04-12 22:58 by yuyin1233
[考研] 0831一轮调剂失败求助 +10 小熊睿睿_s 2026-04-11 10/500 2026-04-12 22:43 by 长弓傲
[考研] 331求调剂 +5 王国帅 2026-04-11 5/250 2026-04-11 22:56 by 溪涧流水
[考研] 药学专硕调剂 +8 ? 一路生?花? 2026-04-10 10/500 2026-04-11 21:21 by zhouxiaoyu
[考研] 270求调剂 +14 杨乐369 2026-04-11 14/700 2026-04-11 20:16 by 蓝云思雨
[考研] 调剂 +5 文道星台 2026-04-11 5/250 2026-04-11 15:01 by 凯凯要变帅
[考研] 农学0904 312求调剂 +6 Say Never 2026-04-10 6/300 2026-04-11 10:33 by wwj2530616
[考研] 346,工科0854求调剂,专硕 +7 moser233 2026-04-10 8/400 2026-04-11 08:52 by 猪会飞
[考研] 化学工程与技术324调剂 +23 孙常华 2026-04-09 25/1250 2026-04-11 00:07 by 骑牛渡寒江
信息提示
请填处理意见