| 查看: 6788 | 回复: 10 | ||
liu-biao木虫 (正式写手)
|
[求助]
谁编译过vasp5.4+wannier90? 我一直编译都通不过 总是报错已有2人参与
|
|
mlwf.f90 .text+0x22be): undefined reference to `wannier_setup_'mlwf.f90 .text+0x962a): undefined reference to `wannier_run_'mlwf.f90 .text+0xaa56): undefined reference to `wannier_run_'make[2]: *** [vasp] Error 1 make[2]: Leaving directory `/public/home/yangjl/soft/GW-vasp5.4/vasp.5.4.1-constr_cell_relax/build/std' cp: cannot stat `vasp': No such file or directory make[1]: *** [all] Error 1 make[1]: Leaving directory `/public/home/yangjl/soft/GW-vasp5.4/vasp.5.4.1-constr_cell_relax/build/std' make: *** [std] Error 2 有没有大神能帮忙解决一下这个问题,万分感谢!!!! |
» 猜你喜欢
之前让一硕士生水了7个发明专利,现在这7个获批发明专利的维护费可从哪儿支出哈?
已经有9人回复
心脉受损
已经有6人回复
博士申请都是内定的吗?
已经有8人回复
博士读完未来一定会好吗
已经有32人回复
读博
已经有5人回复
投稿精细化工
已经有4人回复
高职单位投计算机相关的北核或SCI四区期刊推荐,求支招!
已经有4人回复
导师想让我从独立一作变成了共一第一
已经有9人回复
Springer期刊投稿求助
已经有4人回复
yuraining
木虫 (小有名气)
- 应助: 17 (小学生)
- 金币: 2187.2
- 帖子: 56
- 在线: 259.3小时
- 虫号: 1503708
- 注册: 2011-11-22
- 专业: 凝聚态物性 II :电子结构
【答案】应助回帖
★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★
感谢参与,应助指数 +1
liu-biao: 金币+50, 已经解决了 2018-08-27 16:59:46
感谢参与,应助指数 +1
liu-biao: 金币+50, 已经解决了 2018-08-27 16:59:46
|
http://cms.mpi.univie.ac.at/wiki/index.php/Installing_VASP 官方的安装编译指南, VASP was compiled without wannier90 library 你应该 To include the interface to Wannier90 (-DVASP2WANNIER90 or -DVASP2WANNIER90v2), one needs to specify: LLIBS += /your-wannier90-directory/libwannier.a And one needs to download Wannier90 and compile libwannier.a. |
9楼2018-08-23 10:20:07
liu-biao
木虫 (正式写手)
- 应助: 3 (幼儿园)
- 金币: 4598.4
- 散金: 84
- 帖子: 464
- 在线: 247.2小时
- 虫号: 2102358
- 注册: 2012-11-02
- 性别: GG
- 专业: 凝聚态物性 II :电子结构
2楼2018-08-22 20:25:15
heyong0104
金虫 (正式写手)
硕士研究生
- 应助: 1 (幼儿园)
- 金币: 205.6
- 散金: 581
- 红花: 2
- 帖子: 473
- 在线: 72小时
- 虫号: 4468379
- 注册: 2016-03-05
- 性别: GG
- 专业: 凝聚态物性 II :电子结构

3楼2018-08-22 20:51:17
未岸亡灵
铁杆木虫 (著名写手)
暂时离开小木虫
- 1ST强帖: 2
- 应助: 622 (博士)
- 金币: 6517.3
- 散金: 1221
- 红花: 111
- 帖子: 1345
- 在线: 517.7小时
- 虫号: 1730773
- 注册: 2012-04-01
- 性别: GG
- 专业: 理论和计算化学
4楼2018-08-22 21:06:26
liu-biao
木虫 (正式写手)
- 应助: 3 (幼儿园)
- 金币: 4598.4
- 散金: 84
- 帖子: 464
- 在线: 247.2小时
- 虫号: 2102358
- 注册: 2012-11-02
- 性别: GG
- 专业: 凝聚态物性 II :电子结构
5楼2018-08-22 22:37:14
dj20516
铜虫 (正式写手)
- 应助: 5 (幼儿园)
- 金币: 1215.4
- 红花: 5
- 帖子: 356
- 在线: 50.9小时
- 虫号: 3707430
- 注册: 2015-03-03
- 性别: GG
- 专业: 凝聚态物性 II :电子结构
6楼2018-08-22 23:41:43
liu-biao
木虫 (正式写手)
- 应助: 3 (幼儿园)
- 金币: 4598.4
- 散金: 84
- 帖子: 464
- 在线: 247.2小时
- 虫号: 2102358
- 注册: 2012-11-02
- 性别: GG
- 专业: 凝聚态物性 II :电子结构
7楼2018-08-23 07:02:49
liu-biao
木虫 (正式写手)
- 应助: 3 (幼儿园)
- 金币: 4598.4
- 散金: 84
- 帖子: 464
- 在线: 247.2小时
- 虫号: 2102358
- 注册: 2012-11-02
- 性别: GG
- 专业: 凝聚态物性 II :电子结构
|
MLWF_READER: ERROR: VASP was compiled without wannier90 library, exiting now ... 一提交就出现这个错误 然后就停止了 发自小木虫IOS客户端 |
8楼2018-08-23 07:03:29
liu-biao
木虫 (正式写手)
- 应助: 3 (幼儿园)
- 金币: 4598.4
- 散金: 84
- 帖子: 464
- 在线: 247.2小时
- 虫号: 2102358
- 注册: 2012-11-02
- 性别: GG
- 专业: 凝聚态物性 II :电子结构
|
你添加libwannier.a的方式有问题,把静态链接的和动态的给混合了。 动态链接的话: -L/public/home/yangjl/soft/GW-vasp5.4/wannier90-1.2 -lwannier 静态链接的话: public/home/yangjl/soft/GW-vasp5.4/wannier90-1.2/libwannier.a 建议对MKL和wannier的库文件都改为静态链接的方式,如下面的设置: MKLROOT=/public/software/intel/Compiler/11.1/059/mkl/ BLAS = LAPACK = -Wl,--start-group ${MKLROOT}/lib/intel64/libmkl_intel_lp64.a ${MKLROOT}/lib/intel64/libmkl_sequential.a ${MKLROOT}/lib/intel64/libmkl_core.a /public/home/yangjl/soft/GW-vasp5.4/wannier90-1.2/libwannier.a -Wl,--end-group -lpthread -lm 这个是侯老师教我的 编译成功了! |
10楼2018-08-27 17:00:10













.text+0x22be): undefined reference to `wannier_setup_'
回复此楼