| 查看: 986 | 回复: 1 | ||
| 【悬赏金币】回答本帖问题,作者sin81将赠送您 10 个金币 | ||
[求助]
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) 就报错, 请问如何解决? |
» 猜你喜欢
327求调剂
已经有28人回复
一志愿中科大材料与化工,353分还有调剂学校吗
已经有6人回复
0854求调剂
已经有17人回复
售SCI一区文章,我:8.O.5.5.1.O.5.4,科目齐全,可+急
已经有3人回复
药学求调剂
已经有15人回复
初试324 中药学 一志愿天中医 求调剂
已经有4人回复
279学硕食品专业求调剂院校
已经有29人回复
294求调剂
已经有10人回复
恳请有学校收留
已经有6人回复
求调剂推荐
已经有8人回复
rlafite
木虫 (正式写手)
- 应助: 198 (高中生)
- 金币: 11085.2
- 红花: 29
- 沙发: 1
- 帖子: 922
- 在线: 349.2小时
- 虫号: 4563202
- 注册: 2016-04-02
- 性别: GG
- 专业: 同步辐射技术及其应用
【答案】应助回帖
|
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













回复此楼