24小时热门版块排行榜    

汕头大学海洋科学、生物学、生物与医药等3个专业接受调剂
查看: 1114  |  回复: 4

hisap-nano

新虫 (正式写手)

[交流] 为什么算能带时老是出错!已有2人参与

在算简单的金属的能带时老是提示出错,我看了半天也没整明白错在哪里了,大家帮我看看好吗,先谢了!
ndtset 2

#Optimization of the lattice parameters
optcell1 1
ionmov1  3
ntime1  10
dilatmx1 1.05
ecutsm1  0.5

#Definition of the k-point grids
kptopt1 1          # Option for the automatic generation of k points, taking
                  # into account the symmetry
nshiftk1 1       # These shifts will be the same for all hcp grids
shiftk1 0.0 0.0 0.5
ngkpt1  6 6 6
prtden1 1

#Dataset 2 : the band structure
iscf2  -2
getden2  -1
kptopt2  -3
nband2 24
ndivk2   15 15 15 15  15   
kptbounds2  0.0  0.0  0.5 # A point
            0.0  0.0  0.0 # Gamma point
            0.5  0.0  0.0 # M point
            2/3  1/3  0.0 # K point
            2/3  1/3  0.5 # H point
            1.0  1.0  1.0 # Gamma point in another cell.
                       
tolwfr2  1.0d-12
enunit2  1             # Will output the eigenenergies in eV
prtdos2 2
prtdos2 3

#Definition of the unit cell
acell 8.4776  8.4776  13.2906  #in bohr atomic unit
angdeg 90.0000 90.0000 120.0000

#Definition of the atom types
ntypat 1          # There is only one type of atom
znucl 4          # The keyword "znucl" refers to the atomic number of the
                  # possible type(s) of atom. The pseudopotential(s)
                  # mentioned in the "files" file must correspond
                  # to the type(s) of atom. Here, the only type is Silicon.

#Definition of the atoms
chkprim 0
natom 16           # There are 16 atoms
typat 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
xred
0.16667   0.33333   0.12500   
0.33333   0.16667   0.37500   
0.66667   0.33333   0.12500   
0.83333   0.16667   0.37500   
0.16667   0.83333   0.12500   
0.33333   0.66667   0.37500   
0.66667   0.83333   0.12500   
0.83333   0.66667   0.37500   
0.16667   0.33333   0.62500   
0.33333   0.16667   0.87500   
0.66667   0.33333   0.62500   
0.83333   0.16667   0.87500   
0.16667   0.83333   0.62500   
0.33333   0.66667   0.87500   
0.66667   0.83333   0.62500   
0.83333   0.66667   0.87500   

#Definition of the planewave basis set

ecut 10.0        # Maximal kinetic energy cut-off, in Hartree

#Definition of the SCF procedure

nstep 15          # Maximal number of SCF cycles
toldfe 1.0d-8     # Will stop when, twice in a row, the difference
                  # between two consecutive evaluations of total energy
                  # differ by less than toldfe (in Hartree)
                  # This value is way too large for most realistic studies of materials
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

fzx2008

荣誉版主 (著名写手)

优秀版主优秀版主

★ ★
小木虫(金币+0.5):给个红包,谢谢回帖
uuv2010(金币+1): 多谢指导! 2011-12-17 13:22:49
1.你算能带的时候kptopt2有问题,按照你的k点路径应该是等于-5
2.计算能带的时候读取优化计算的电荷密度我怀疑不可行,推荐使用单点自洽计算产生的电荷密度
3.个人不推荐使用这种Dataset形式,一个一个算,能加深理解且易控制。熟练掌握后(对各步计算有预期),可以连在一起算。
2楼2011-12-17 09:27:29
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

souledge

专家顾问 (著名写手)

★ ★
小木虫(金币+0.5):给个红包,谢谢回帖
uuv2010(金币+1): 多谢指导! 2011-12-17 13:22:58
DATASET 2的时候,起码也要getxred+getvel一下啊……
思想重于技巧,内涵重于表象
3楼2011-12-17 11:29:54
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

hisap-nano

新虫 (正式写手)

多谢指导!太感谢了
4楼2011-12-17 16:11:58
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

hisap-nano

新虫 (正式写手)

hisap-nano: 回帖置顶 2011-12-18 12:21:05
hisap-nano: 取消置顶 2011-12-19 04:39:17
斑竹,真对不起,还要向您请教,我修改了input文件后,程序能出结果,我用abinitbandstructuremaker 去画能带,结果提示算能带的数组不完整,您帮我看看是怎么回事好吗,先谢了!
input file
ndtset 2

#Optimization of the lattice parameters
optcell1 1
ionmov1 3
ntime1 10
dilatmx1 1.05
ecutsm1 0.5

iscf1 5
nstep1 10
toldfe1 1.0d-8

#Definition of the k-point grids
kptopt1 1
nshiftk1 1
shiftk1 0.0 0.0 0.5
ngkpt1 6 6 6
prtden1 1


#Dataset 2 : the band structure
iscf2 -2
nstep2 50
getden2 -1

kptopt2 -5 # the absolut value represent the segments

ndivk2 15 15 15 15 15 # 15, 15, 15, 15 and 15 divisions of the 5 segments, delimited by 6 points.
kptbounds2
0.0 0.0 0.5
0.0 0.0 0.0
0.5 0.0 0.0
1/3 1/3 0.0
1/3 1/3 0.5
1.0 1.0 1.0

tolwfr2 1.0d-12
enunit2 1




#Definition of the unit cell
acell 8.4776 8.4776 13.2906
rprim 1.0 0.0 0.0
-0.5 sqrt(0.75) 0.0
0.0 0.0 1.0

#Definition of the atom types
ntypat 1
znucl 4

#Definition of the atoms
chkprim 0
natom 16 # There are 16 atoms
typat 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
xred
0.16667 0.33333 0.12500
0.33333 0.16667 0.37500
0.66667 0.33333 0.12500
0.83333 0.16667 0.37500
0.16667 0.83333 0.12500
0.33333 0.66667 0.37500
0.66667 0.83333 0.12500
0.83333 0.66667 0.37500
0.16667 0.33333 0.62500
0.33333 0.16667 0.87500
0.66667 0.33333 0.62500
0.83333 0.16667 0.87500
0.16667 0.83333 0.62500
0.33333 0.66667 0.87500
0.66667 0.83333 0.62500
0.83333 0.66667 0.87500

#Definition of the planewave basis set

ecut 10.0

错误提示
2 dataset(s) detected
the last dataset is not completed and will be ignored
Traceback (most recent call last):
  File "AbinitBandStructureMaker.py", line 1012, in ?
    dico[k] = '{l%s}' %ctrl.alphabet[L]
KeyError: 27
5楼2011-12-18 12:20:28
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 hisap-nano 的主题更新
普通表情 高级回复(可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 重大机械学硕347求调剂 +3 一定一定要读研 2025-04-07 3/150 2025-04-08 16:34 by donjade
[考研] 求调剂 +14 小夏~, 2025-04-06 14/700 2025-04-08 13:50 by YCIT- LHL
[考研] 化工专硕360求调剂,本211,一志愿985 +7 kqatk 2025-04-06 7/350 2025-04-08 12:12 by victery
[考研] 302求调剂 +8 jczzc 2025-04-06 8/400 2025-04-08 11:57 by edmund7
[考研] 一志愿哈工大材料专硕 085600 初试总分318分 求调剂 +10 aaaa33! 2025-04-07 10/500 2025-04-08 10:40 by edmund7
[考研] 材料294求推荐 +12 乔JOJO 2025-04-03 13/650 2025-04-08 09:12 by 1104338198
[考研] 085600求调剂 +22 cs0106 2025-04-02 22/1100 2025-04-07 14:40 by lijunpoly
[考研] 275求调剂 +5 睡觉时候 2025-04-05 7/350 2025-04-06 20:45 by zhuyoukang
[考研] 轻工类 082200 273分 考了数学 单科均已过A区线 +7 Pdz666 2025-04-05 7/350 2025-04-06 11:15 by lpl364211
[考研] 一志愿9 高分子材料341 求调剂 +6 肃鸿! 2025-04-05 6/300 2025-04-06 09:26 by JourneyLucky
[考研] 一志愿地大武汉 315分 0857 资源与环境 环境工程 +3 张正正正 2025-04-05 3/150 2025-04-06 09:23 by pengchuning
[考研] 一志愿985英一数二0860生物与医药279求调剂 +7 XiaoYQ 2025-04-04 7/350 2025-04-05 20:55 by 分析化学小二
[考研] 华侨大学生物学0710接收调剂 +3 cadfyk 2025-04-05 5/250 2025-04-05 14:25 by 上岸吧让我求求�
[考研] 312求调剂 +5 zs920207 2025-04-04 6/300 2025-04-05 10:18 by wszxlll
[考研] 总分288分 材料与化工 英语没过a区线求B区院校调剂 +3 咕噜咕噜oh 2025-04-04 3/150 2025-04-04 23:37 by 褚迎松小小
[考研] 求调剂 +4 霁拓熙 2025-04-02 6/300 2025-04-04 22:42 by wxywyq
[考研] 322求调剂 +3 a昭昭a 2025-04-04 3/150 2025-04-04 16:43 by yqWu武
[考研] 0854西北工业大学360+ 数一英一求调剂 +5 wejoin 2025-04-04 5/250 2025-04-04 08:54 by chdzsy
[考研] 316求调剂 +4 2811210122 2025-04-03 7/350 2025-04-03 18:20 by 诗与自由
[考研] 0854电子信息326分求调剂 +3 085402326 2025-04-03 9/450 2025-04-03 12:49 by 085402326
信息提示
请填处理意见
复试调剂复试调剂
复试调剂二维码获取复试 & 调剂指南!微信扫一扫
商务合作商务合作
商务合作二维码商务合作咨询微信扫一扫(备注:商务合作)
学术干货学术干货
学术干货二维码微信扫一扫了解最新学术干货
论文辅导论文辅导
论文辅导二维码微信扫一扫添加老师,免费咨询
师资招募师资招募