24小时热门版块排行榜    

Znn3bq.jpeg
北京石油化工学院2026年研究生招生接收调剂公告
查看: 892  |  回复: 7
当前主题已经存档。
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

zxzj05

荣誉版主 (著名写手)

[交流] 【求助】CG不收敛的问题

我在计算声子谱时,经常碰到CG不收敛的问题,在abinit官方网站上的FAQ里面,也有人提出这个问题:
During my calculation for the first derivative of the energy, after many iteration steps, the potential residual begins to fluctuate. It has been found  that , due to the 'log file', this potential-based CG line minimization has trouble to converge.

有人提议:
Sometimes the CG of WF have trouble converging ; especially for systems requiring very large ecut. In those case since the wave functions do not converge accurately the potential can't converge. To solve this you have to resort to an increase of "nline". nline=15 is a very safe value. Also you may increase nnsclo.

我做了下面修改:
nline=15
nnsclo=25(不敢太大,非常浪费时间),
可是错误依然出现。
请大家给点建设性意见,帮我度过难关!
不胜感激!

[ Last edited by zxzj05 on 2008-12-5 at 10:33 ]
回复此楼

» 猜你喜欢

储氢家族欢迎储氢研究者!
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wuchenwf

荣誉版主 (职业作家)

ab-init没弄过,友情支持一下
6楼2009-04-20 19:22:42
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 8 个回答

watermall

金虫 (小有名气)


wuchenwf(金币+1):3Q!
建议把使用的abinit版本
输入文件
输出文件,尤其是出错的地方给出来
大家才能更清楚你的问题是什么
2楼2008-12-04 22:23:02
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zxzj05

荣誉版主 (著名写手)

相关输入文件:
# Crystalline phonon spectrum

   ndtset   10
#Set 1 : ground state self-consistency

  getwfk1   0           
  kptopt1   1           
    nqpt1   0            
  tolvrs1   1.0d-18   
  rfphon1   0           
    nline   15
    nnsclo3  40
nnsclo4   40

#Q vectors for all datasets

       nqpt   1           
                          
       qpt2    0.00000000E+00  0.00000000E+00  0.00000000E+00
       ………………………………………………………………………………
       qpt10  -2.50000000E-01  5.00000000E-01  2.50000000E-01

#Set 2 : Response function calculation of d/dk wave function

    iscf2   -3         # Need this non-self-consistent option for d/dk
  kptopt2   2          # Modify default to use time-reversal symmetry
  rfphon2   0          # Cancel default
  rfelfd2   2          # Calculate d/dk wave function only
  tolvrs2   0.0        # Cancel default for d/dk
  tolwfr2   1.0d-22    # Use wave function residual criterion instead
  
#Set 3 : Response function calculation of Q=0 phonons and electric field pert.

  getddk3   2          # d/dk wave functions from last dataset
  kptopt3   2          # Modify default to use time-reversal symmetry
  rfelfd3   3          # Electric-field perturbation response only
  

#Sets 4-10 : Finite-wave-vector phonon calculations (defaults for all datasets)

   getwfk   1          # Use GS wave functions from dataset1
   kptopt   3          # Need full k-point set for finite-Q response
   rfphon   1          # Do phonon response
  rfatpol   1  3       # Treat displacements of all atoms
    rfdir   1 1 1      # Do all directions (symmetry will be used)
   tolvrs   1.0d-8     # This default is active for sets 3-10

   nband    25        
    ecut    40           
   ngkpt    4 4 4
nshiftk    4
  shiftk    0.5  0.5  0.5
            0.5  0.0  0.0
            0.0  0.5  0.0
            0.0  0.0  0.5

    iscf   5   


错误输出:      
scfcge : ERROR -
  Potential-based CG line minimization not converged after 13 restarts.
  Action : read the eventual warnings about lack of convergence.
  Some might be relevant. Otherwise, raise nband.

增加nband,ecut只会增加计算量,浪费时间,无法真正解决问题。
储氢家族欢迎储氢研究者!
3楼2008-12-05 10:58:38
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

baoer3808

银虫 (小有名气)


wuchenwf(金币+1):3Q!
不用cg算法·····试试行不·······
5楼2009-04-20 09:11:09
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 求调剂 一志愿西南交通大学085701环境工程 282分 +15 多多爱吃汉堡 2026-04-04 16/800 2026-04-08 11:39 by i_cooler
[考研] 285求调剂 +7 AZMK 2026-04-07 7/350 2026-04-08 11:10 by 逆水乘风
[考研] 材料调剂 +19 一样YWY 2026-04-02 20/1000 2026-04-08 11:02 by 不吃魚的貓
[考研] 求考研材料调剂 +3 材化李可 2026-04-07 3/150 2026-04-08 00:21 by JourneyLucky
[考研] 388求调剂 +6 四川王涛 2026-04-07 8/400 2026-04-08 00:17 by JourneyLucky
[考研] 一志愿郑州大学材料与化工085600,求调剂 +34 吃的不少 2026-04-02 34/1700 2026-04-07 20:01 by lrll?l
[考研] 081200-11408-276学硕求调剂 +6 崔wj 2026-04-02 6/300 2026-04-07 18:45 by 求调剂zz
[考研] 338求调剂 +4 我想上岸ii 2026-04-05 4/200 2026-04-06 21:04 by 木子君1218
[考研] 复试调剂 +5 asdasdassda 2026-04-05 5/250 2026-04-06 09:32 by dongzh2009
[考研] 085600,320分求调剂 +16 大馋小子 2026-04-04 17/850 2026-04-06 07:58 by MOF_Catal
[考研] 329求调剂 +17 miaodesi 2026-04-02 20/1000 2026-04-05 18:33 by 蓝云思雨
[考研] 一志愿上海海洋大学083200食品学硕,求调剂,接受其他专业083200 +4 what张 2026-04-04 5/250 2026-04-05 14:07 by chw1980_0
[考研] 288求调剂,一志愿华南理工大学071005 +6 ioodiiij 2026-04-04 6/300 2026-04-05 10:09 by guoweigw
[考研] 085400电子信息319求调剂(接受跨专业调剂) +5 星星不眨眼喽 2026-04-03 6/300 2026-04-04 21:50 by hemengdong
[考研] 368求调剂 +5 今华习 2026-04-03 7/350 2026-04-04 18:47 by imissbao
[考研] 272求调剂 +4 松柏常青5 2026-04-03 4/200 2026-04-04 17:03 by babysonlkd
[考研] 081200-11408-276学硕求调剂 +5 崔wj 2026-04-03 5/250 2026-04-03 15:06 by arrow8852
[考研] 071000生物学调剂 +8 知昭蔓 2026-04-02 8/400 2026-04-03 10:36 by macy2011
[考研] 材料340分调剂 +7 夏夜晚风_long 2026-04-02 9/450 2026-04-02 21:20 by dongzh2009
[考研] 土木304求调剂 +4 兔突突突, 2026-04-02 5/250 2026-04-02 21:16 by 兔突突突,
信息提示
请填处理意见