24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 968  |  回复: 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个字符以上)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 一志愿华东师范大学有机化学专业,初试351分,复试被刷求调剂! +7 真名有冰 2026-03-29 8/400 2026-03-30 21:08 by maaj02
[考研] 生物学学硕,一志愿湖南大学,初试成绩338 +7 YYYYYNNNNN 2026-03-26 9/450 2026-03-30 20:29 by YYYYYNNNNN
[考研] 346求调剂 一志愿070303有机化学 +7 萝卜炖青菜 2026-03-28 8/400 2026-03-30 19:59 by 无际的草原
[考研] 322求调剂:一志愿湖南大学 材料与化工(085600),已过六级。 +9 XX小邓 2026-03-29 9/450 2026-03-30 17:18 by limeifeng
[考研] 材料专硕调剂 +11 椰椰。 2026-03-29 11/550 2026-03-30 16:21 by wangjy2002
[考研] 284求调剂 +14 junqihahaha 2026-03-26 15/750 2026-03-30 14:12 by 探123
[考研] 考研调剂 +5 Sanmu-124 2026-03-26 5/250 2026-03-30 13:36 by chemdavid
[考研] 0856求调剂 +8 楒桉 2026-03-28 8/400 2026-03-30 10:00 by wzy-lxz
[考研] 085600,材料与化工321分求调剂 +10 大馋小子 2026-03-28 10/500 2026-03-29 23:35 by 飞行日记西
[考研] 070305高分子化学与物理 304分求调剂 +12 c297914 2026-03-28 12/600 2026-03-29 16:21 by Serene1974
[考研] 0856求调剂 +13 zhn03 2026-03-25 14/700 2026-03-29 08:13 by fmesaito
[考研] 调剂 +3 好好读书。 2026-03-28 3/150 2026-03-28 12:04 by 王保杰33
[考研] 340求调剂 +5 jhx777 2026-03-27 5/250 2026-03-28 04:18 by fmesaito
[考研] 295求调剂 +5 1428151015 2026-03-27 6/300 2026-03-28 04:04 by fmesaito
[考研] 275求调剂 +10 jjjjjjjjjjl 2026-03-27 10/500 2026-03-27 23:47 by barnett0632
[考研] 305求调剂 +5 哇卢卡库 2026-03-26 5/250 2026-03-27 14:01 by laoshidan
[考研] 316求调剂 +5 Pigcasso 2026-03-24 5/250 2026-03-27 12:10 by zhshch
[考研] 336材料求调剂 +7 陈滢莹 2026-03-26 9/450 2026-03-27 00:20 by wxiongid
[考研] 一志愿吉林大学材料与化工303分求调剂 +4 为学666 2026-03-24 4/200 2026-03-25 11:27 by BruceLiu320
[考研] 调剂 +4 13853210211 2026-03-24 4/200 2026-03-24 19:44 by ms629
信息提示
请填处理意见