24小时热门版块排行榜    

Znn3bq.jpeg
查看: 9406  |  回复: 57
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

ljw4010

荣誉版主 (职业作家)

小木虫从头派教主

[交流] 【活动】结合WIEN2K探讨Boltztrap软件的安装编译及正确使用方法

  结合WIEN2K探讨Boltztrap软件的安装编译及正确使用方法


关于半经典输运系数计算,Boltztrap无疑使用非常广泛,下面我就简单探讨式说明下。

1.安装说明
参照帖子:http://muchong.com/html/201210/5100314.html给出的MAKEFILE文件内容,作如下说明
首先我们在linux系统中必须安装编译器及MKL库文件,现在以ifort为例说明:

Makefile文件中编译器及库路径设置必须要正确,
FC = ifort    #设置编译器为ifort                                                                                       
FOPT = -FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML  #这里选择默认
LDFLAGS = -L/opt/intel/Compiler/11.0/074/mkl/lib/em64t -Vaxlib  -pthread  #这里/opt/intel/Compiler/11.0/074/mkl/lib/em64t是mkl库的路径要在你安装的机器上找到正确的 路径                                 
LIBS = -lmkl_lapack -lmkl_ia32 -lguide    #这里可以选择默认                                                                                                                                                                     
之后保存makefile文件即可,在终端make没有报错即成功。

注:关于编译器的选择,根据自己需要安装,一般我们使用intel公司出的免费软件即可,不过自13年后ifort和mkl似乎合并在一起了,导致很多人安装会出现各种问题,建议还是用11或12版分开的比较好。
2.使用说明
在使用Boltztrap计算时,需要依赖诸如WIEN2k、VASP提供输入文件,以WIEN2K为例说明之:
1)在使用时需要利用WIEN2K通过自洽计算生成分能量文件合成总的能量文件,这里是要讨论的重点,这里如果合成错误,将导致结果失败。大家可以研究下gather_energy.pl这个文件。
2)intrans也是输入的文件之一,这里面有费米能,温度,计算积分切断大小,浓度掺杂等设置,具体可参照http://arxiv.org/pdf/cond-mat/0602203.pdf所述。
3)结构文件使用计算的struct文件即可
4)准备好文件之后,有两种命令可供使用,一是/Boltztrap Boltztrap.def 这个命令需要 Boltztrap.def 文件,可从自带test copy,另外是/ xtrans Boltztrap  后面可加-T延时参数等
3.生成文件
一般我们需要的数据都会在case.trace中生成,如果有掺杂,可以在case.trace_fix_dopping文件中找到数据。还有霍尔系数,热导等均可找到。
4.其他问题等待大家探讨,欢迎大家讨论!

看到大家比较热情参与,现在追加悬赏啦,如果虫友提出或者分享一条主题相关问题或建设性意见,会得到5-20金币,金币不够还会追加,谢谢参与!


[ Last edited by ljw4010 on 2014-11-1 at 20:26 ]
回复此楼

» 本帖@通知

» 猜你喜欢

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

ljw4010

荣誉版主 (职业作家)

小木虫从头派教主

ljw4010: 回帖置顶 2015-05-06 21:20:37
Re: [Wien] Boltztrap for spin polarized materials
引用回帖:
Hi Gavin

Thanks it works...

Thanks for your input...
Regards

On Sun, Mar 8, 2015 at 9:11 PM, Gavin Abo <gs...@crimson.ua.edu> wrote:

> In a terminal, run:
>
> path-to-BoltzTraP/src/x_trans -h BoltzTraP
>
> Change path-to-BoltzTraP to where BoltzTraP is located on your system.
> For example, path-to-BoltzTraP on my system is "~/boltztrap-1.2.5":
>
> ~/boltztrap-1.2.5/src/x_trans -h BoltzTraP
>
> In the output, you should see that you need the -up and -dn flags to run a
> spin polarized calculation.  However, the spin polarized calculation needs
> to be a non-parallel calculation.
>
> The gather_energy.pl in "path-to-BoltzTraP/util" only works for parallel
> non-spin polarized calculations, but you could try to modify it so that it
> might work for parallel spin polarized and parallel spin orbit
> calculations.  I have such a modified file, but it is a bit untested.  If
> you want the modified file, let me know.
>
>
> On 3/8/2015 7:06 AM, Murugan Sundareswari wrote:
>
>> Dear All,
>>
>> We have been working on transport properties for some materials. We were
>> able to run boltztrap for normal materials. However when we run scf with
>> spin polarized calculation, Boltztrap does not work and gives an error
>> "ERROR IN OPENING FILE (look in output)"
>>
>> We are not sure if Boltztrap can be run for "spin polarized" materials.
>> we tried both normal and -so where in we get same error in both cases...
>>
>> Could some one highlight if we need to link any file or is it not
>> possible to use Boltztrap code for spin poplarized materials?
>>
>> Regards

不要说话
52楼2015-05-06 10:50:08
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 58 个回答

ljw4010(金币+3): 谢谢参与
7楼2014-10-30 23:54:30
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 通信工程求调剂!!! +6 zlb770521 2026-04-14 6/300 2026-04-15 20:00 by 学员JpLReM
[考研] 一志愿沪9,生物学326求调剂 +7 刘墨墨 2026-04-15 7/350 2026-04-15 18:51 by 浮云166
[考研] 297,工科调剂?河南农业大学本科 +11 河南农业大学-能 2026-04-14 11/550 2026-04-15 15:03 by 学员JpLReM
[考研] 22专硕求调剂 +9 haoyun上岸 2026-04-11 11/550 2026-04-15 14:47 by elainzaizai
[考研] 材料工程281还有调剂机会吗 +43 xaw. 2026-04-11 44/2200 2026-04-15 12:46 by 西北望—风沙
[考研] 279学硕食品专业求调剂院校 20+6 孤独的狼爱吃羊 2026-04-12 28/1400 2026-04-14 15:44 by zs92450
[考研] 344 材料专业 求调剂211 无地域要求 +8 hualkop 2026-04-11 8/400 2026-04-12 22:24 by fqwang
[考研] 0831生医工第一轮调剂失败求助 +12 小熊睿睿_s 2026-04-11 16/800 2026-04-12 16:28 by 钰璞
[考研] 296求调剂 +14 汪!?! 2026-04-10 16/800 2026-04-12 10:48 by zhouyuwinner
[考研] 291求调剂 +8 关忆北. 2026-04-11 8/400 2026-04-12 09:32 by 逆水乘风
[考研] 求调剂,一志愿大连理工大学354分 +5 雨声余生 2026-04-11 6/300 2026-04-11 16:12 by 雨声余生
[考研] 296求调剂 +6 汪!?! 2026-04-09 6/300 2026-04-11 11:25 by zhq0425
[考研] 一志愿985机械学硕380求调剂 +5 关关雎鸠10 2026-04-11 5/250 2026-04-11 10:10 by 知念。A
[考研] 广东省 085601 329分求调剂 +14 Eddieddd 2026-04-10 14/700 2026-04-11 09:58 by bljnqdcc
[考研] 085402通信工程调剂,有4项学科竞赛国奖(电赛国二),硕士研究生调剂自荐信。 +5 m永o不v言o弃m 2026-04-09 5/250 2026-04-11 09:33 by zhq0425
[考研] 调剂 +19 小张ZA 2026-04-10 20/1000 2026-04-10 22:08 by 猪会飞
[考研] 368求调剂 +3 17385968172 2026-04-10 3/150 2026-04-10 20:12 by 电子奥德彪
[考研] 284求调剂 +9 让我上岸吧阿西 2026-04-09 11/550 2026-04-10 19:18 by 靖jing
[考研] 一志愿中科大070300化学,314分求调剂 +12 wakeluofu 2026-04-09 12/600 2026-04-10 09:57 by liuhuiying09
[考研] 083200 初试305分 求调剂 暂不考虑跨专业 +15 Claireyyyy 2026-04-09 15/750 2026-04-09 16:11 by zhuimr
信息提示
请填处理意见