24小时热门版块排行榜    

查看: 10184  |  回复: 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的回帖
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 面上函评意见出来了,像什么等级? 20+4 Tsingking1 2026-08-27 17/850 2026-09-01 19:51 by 超级无敌华子
[基金申请] 为什么国自然不能直接公布 +5 bjdxyxy 2026-08-26 5/250 2026-09-01 17:54 by 小伟大博士
[基金申请] 为什么资助数各大高校都创新高,自己申请怎么就这么难 +13 Kittylucky 2026-08-27 14/700 2026-09-01 11:06 by feng6531
[论文投稿] 小白求助 投论文要求的highlights应该如何写 5+3 l1963982152 2026-08-29 4/200 2026-09-01 09:04 by 北京莱茵编辑
[基金申请] 怎么看青基中了没有啊 +6 叶九微 2026-08-26 6/300 2026-08-31 23:54 by yudaoqian88
[基金申请] 国社科又开始会评了,不知道这次命运如何 +7 雨打竹帘 2026-08-30 11/550 2026-08-31 23:16 by hittle2008
[基金申请] 投票:  有多少人是今天查系统知道结果的? +17 爱看书的可乐 2026-08-26 19/950 2026-08-31 21:30 by xiangy672
[基金申请] 基金未中,这种答复是模板吗? +6 zhaosm1982 2026-08-27 7/350 2026-08-31 21:18 by qdxxmc
[基金申请] 哪位高人中了,把查询到的截图贴出来让我看看,让我长长见识 +6 yuleib84 2026-08-26 7/350 2026-08-31 19:46 by 鱼翔浅底1
[基金申请] 中青基了要发朋友圈吗? +7 349506619 2026-08-28 7/350 2026-08-31 13:39 by 冼亮淀粉酶
[基金申请] 基金不中,共勉 +12 eulota 2026-08-26 12/600 2026-08-31 08:42 by ZJTJZ
[基金申请] 为什么到现在没收到通知? +5 tannykie 2026-08-29 5/250 2026-08-30 21:05 by purplejack
[考博] 找导师 +6 yuanjiabao 2026-08-29 7/350 2026-08-30 14:40 by 生科新手
[基金申请] 国自然面上复盘~欢迎讨论 (金币+15) +15 晴天加油 2026-08-26 16/800 2026-08-29 18:28 by symmetry
[基金申请] 国自然评审意见 +13 wangmingqi 2026-08-28 19/950 2026-08-29 10:22 by Poppy1104
[基金申请] 系统查不到 +11 董八千 2026-08-26 11/550 2026-08-28 18:06 by Leogzhya
[基金申请] 为什么 国际(地区)合作与交流项目 没有放榜? 10+3 majunge000 2026-08-26 11/550 2026-08-27 08:42 by 北京莱茵编辑
[基金申请] 我不理解! +15 Edward_pc 2026-08-26 23/1150 2026-08-26 20:34 by zzuzxg
[基金申请] 国合里面能看到了 +7 一怀馨秋 2026-08-26 7/350 2026-08-26 11:23 by zhaosm1982
[基金申请] 系统进不去 +4 yanglien 2026-08-26 5/250 2026-08-26 11:10 by wenfengw83
信息提示
请填处理意见