24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 969  |  回复: 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个字符以上)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 本2一志愿C9-333分,材料科学与工程,求调剂 +3 升升不降 2026-03-31 3/150 2026-03-31 06:30 by wxiongid
[考研] 理学07化学 303求调剂 +4 睿08 2026-03-27 4/200 2026-03-30 23:29 by yujianx
[考研] 085701环境工程求调剂 +11 多久上课 2026-03-27 12/600 2026-03-30 21:21 by 研究僧导导
[考研] 求收留 +6 1943443204 2026-03-28 6/300 2026-03-30 20:37 by dick_runner
[考研] 一志愿华中师范化学332分求调剂 +3 Lyy930824@ 2026-03-29 3/150 2026-03-30 20:15 by DHUSHUAI
[考研] 105500药学求调剂,一志愿山东大学药学,348分 +3 gr哈哈哈 2026-03-28 3/150 2026-03-30 18:56 by 源_2020
[考研] 材料化工340求调剂 +3 jhx777 2026-03-30 3/150 2026-03-30 17:54 by JourneyLucky
[考研] 08工科,295,接受跨专业调剂 +3 lmnlzy 2026-03-30 3/150 2026-03-30 17:49 by wangjy2002
[考研] 334分 一志愿武理 材料求调剂 +16 李李不服输 2026-03-26 16/800 2026-03-30 17:47 by wangjy2002
[考研] 286求调剂 +5 Faune 2026-03-30 5/250 2026-03-30 17:15 by 无际的草原
[考研] 298求调剂 +3 什么是胖头鱼 2026-03-30 5/250 2026-03-30 14:41 by 青海小西牛
[考研] 求化学调剂 +11 wulanna 2026-03-28 11/550 2026-03-30 10:59 by 探123
[考研] 一志愿南航 335分 | 0856 | GPA 4.07 | 有科研经历 +8 cccchenso 2026-03-29 8/400 2026-03-29 23:53 by 我是小康
[考研] 085701环境工程,267求调剂 +16 minht 2026-03-26 16/800 2026-03-28 12:16 by zllcz
[考研] 266分求材料化工冶金矿业等专业的调剂 +4 哇呼哼呼哼 2026-03-26 4/200 2026-03-27 17:02 by zhyzzh
[考研] 材料与化工304求B区调剂 +3 邱gl 2026-03-25 3/150 2026-03-25 19:03 by Ainin_
[考研] 材料专硕 335 分求调剂 +4 拒绝冷暴力 2026-03-25 4/200 2026-03-25 18:45 by haxia
[考研] 考研一志愿苏州大学初始315(英一)求调剂 +3 sbdksD 2026-03-24 4/200 2026-03-25 18:16 by xcjcqu
[考研] 一志愿武理085500机械专业总分300求调剂 +3 an10101 2026-03-24 7/350 2026-03-25 00:00 by 山鬼0-
[考研] 调剂 +4 13853210211 2026-03-24 4/200 2026-03-24 19:44 by ms629
信息提示
请填处理意见