24小时热门版块排行榜    

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

c_chi

木虫 (正式写手)

[求助] pwscf的AIMD参数 已有1人参与

我刚接触pwscf,需要用来做AIMD的计算,参数如下,但总是报错
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     Error in routine  read_namelists (17):
      reading namelist control
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
我知道是&system中参数有问题,但仔细检查和调整仍然不行,有没有人火眼金睛帮我检查一下,谢谢了!!

&control
    calculation='md'
    restart_mode='from_scratch',
    pseudo_dir = ./,
    outdir= ./,
    prefix='Gra'
    tprnfor = .true.
    tstress = .true.
    etot_conv_thr = 1.0D-4    !Default: 1.0D-4  (a.u)
    forc_conv_thr = 1.0D-3    !Default: 1.0D-3  (a.u)
    dt=20,        !time step for molecular dynamics, in Rydberg atomic units;1 a.u.=4.8378 * 10^-17 s
    nstep = 100   !number of ionic + electronic steps
    verbosity = 'high'
/
&system
    ibrav = 0,
    nat = 2, ntyp=1,
    ecutwfc = 30.0,              ! kinetic energy cutoff (Ry) for wavefunctions
    ecutrho = 150.0,             ! kinetic energy cutoff (Ry) for charge density and potential;Default:4 * ecutwfc
    occupations='smearing',      ! 'tetrahedra' especially suited for calculation of DOS,Not suitable for force/optimization/dynamics calculations
    smearing='mp', degauss=0.03  ! 'fermi-dirac'
    nspin=1,                     !1:non-polarized calculation ;2:spin-polarized calculation, LSDA;4,spin-polarized calculation, noncollinear
    tot_charge=0                 !tot_charge=+1 means one electron missing from the system
/
&electrons
    electron_maxstep=100
    diagonalization = 'david'  ! cg
    mixing_mode     = 'plain'  ! TF
    mixing_beta     = 0.5
    conv_thr        = 1.D-6
/
&ions
    ion_dynamics = 'verlet'
    pot_extrapolation = 'second_order'
    wfc_extrapolation = 'second_order'
    ion_temperature = 'rescale-v'
    tempw = 293.0             !Starting temperature (Kelvin)
    nraise=1
    tolp=100                  !Tolerance for velocity rescaling
   #delta_t = 1
/
ATOMIC_SPECIES
C   12.0107   C.pbe-rrkjus.UPF
ATOMIC_POSITIONS crystal    !alat | bohr | angstrom | crystal ; 0, fixed
C    0.00000   0.00000   0.5   0 0 0
C    0.33333   0.66667   0.5   1 1 1
K_POINTS automatic
8 8 1 0 0 0
CELL_PARAMETERS   angstrom    ! alat | bohr | angstrom ; needed only if ibrav = 0 is specified, ignored otherwise
   2.13042   -1.23 0
   0.000    2.46  0
  0   0  18
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

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

c_chi

木虫 (正式写手)

引用回帖:
8楼: Originally posted by goldenfisher at 2014-04-21 19:59:45
以ang为单位肯定是可以的。如果你设置了celldm(1),那么就是以celldm(1)为单位,而celldm一般默认就是以bohr为单位。我就经常用ang单位。
celldm默认是bohr为单位,A,B,C默认是ang为单位,说明文件里有...

恩,谢谢你的耐心解释
9楼2014-04-21 20:49:58
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 9 个回答

goldenfisher

金虫 (著名写手)

【答案】应助回帖

★ ★ ★ ★ ★
感谢参与,应助指数 +1
c_chi: 金币+5, ★★★很有帮助 2014-04-19 14:00:59
看提示应该是Control中的问题。试试pseudo和out的目录打上引号
2楼2014-04-18 21:03:32
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

c_chi

木虫 (正式写手)

引用回帖:
2楼: Originally posted by goldenfisher at 2014-04-18 21:03:32
看提示应该是Control中的问题。试试pseudo和out的目录打上引号

谢谢,确实是这个问题!
但是又遇到一个新问题:计算的每次MD的前两部步scf都会出现很多
     c_bands:  4 eigenvalues not converged
最后在4~5个MD后就出现下面的错误提示跳出计算。我尝试修改晶格参数,截断能都不能解决。我想问的是下面的错误是我的什么参数有问题才会使计算进行不下去吗?谢谢了。。

在论坛上也看到别人提到“c_bands:  4 eigenvalues not converged
”的警告可以忽略,只要在随后scf收敛就行。这个警告是和模型有关吗?是不是想其他人说的这个警告不能通过修改参数解决?

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     Error in routine c_bands (1):
     too many bands are not converged
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

     stopping ...
3楼2014-04-19 14:00:52
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

c_chi

木虫 (正式写手)

引用回帖:
2楼: Originally posted by goldenfisher at 2014-04-18 21:03:32
看提示应该是Control中的问题。试试pseudo和out的目录打上引号

我后来测试发现没有定义celldm(1),于是我添加celldm(1)=1.8897269(bhor和angstrom的换算),上面的error没有了,但是有新的error:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     Error in routine cell_base_init (1):
     lattice vectors in Bohr or in a0 units?
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
我找到源程序cell_base.f90看了一下,但是没读懂,不知道这是因为什么?能不能指点一下,谢谢了!
      SELECT CASE ( TRIM( cell_units ) )
        CASE ( 'bohr' )
          IF( celldm( 1 ) /= 0.0_DP .OR. a /= 0.0_dp ) CALL errore &
              ('cell_base_init','lattice vectors in Bohr or in a0 units?',1)
          units = 1.0_DP
        CASE ( 'angstrom' )
          IF( celldm( 1 ) /= 0.0_DP .OR. a /= 0.0_dp ) CALL errore &
              ('cell_base_init','lattice vectors in A or in a0 units?',2)
          units = 1.0_DP / bohr_radius_angs
        CASE DEFAULT
          IF( celldm( 1 ) /= 0.0_DP ) THEN
             units = celldm( 1 )
          ELSE IF ( a /= 0.0_dp ) THEN
             units = a / bohr_radius_angs
          ELSE
             units = 1.0_DP
          END IF
     END SELECT
4楼2014-04-19 20:35:13
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 欢迎发来filecode的Mz6后的代码验证其规律 +37 医学老男孩 2026-08-13 86/4300 2026-08-18 00:18 by longsantaizi
[基金申请] 感觉是下周放榜了 +6 angus9576 2026-08-17 11/550 2026-08-17 23:57 by angus9576
[基金申请] 93BebMhtakh前后11位开头都是大写 +3 且听虎啸 2026-08-17 4/200 2026-08-17 22:31 by ccec101
[基金申请] filecode=后面第一个是大写字母 +8 wangze12014 2026-08-14 10/500 2026-08-17 17:05 by xter9665
[基金申请] 时间戳变了,能看出什么问题? +4 基诺咪客 2026-08-17 4/200 2026-08-17 16:10 by Vivilian
[基金申请] 今天系统多次维护,明天很可能放榜! +8 zju2000 2026-08-16 9/450 2026-08-17 12:20 by lmz0216
[基金申请] 时间戳又变了8-15 +13 archvillain 2026-08-15 25/1250 2026-08-16 20:13 by zhaosm1982
[基金申请] 2027广东省杰青 +3 奶牛小黑 2026-08-15 6/300 2026-08-16 20:07 by 奶牛小黑
[基金申请] 快农历七夕节了,轻松一下,男人悄悄话,女施主请不要进来。 +3 Tide man 2026-08-14 3/150 2026-08-16 17:47 by jurkat.1640
[基金申请] 咱们一起用铁证分析2026国家社科基金中标与否 +7 启萌科技 2026-08-12 26/1300 2026-08-16 12:35 by 启萌科技
[基金申请] 各位道友,我要去昆明玩几天,回来见。 +7 Tide man 2026-08-14 8/400 2026-08-15 01:11 by arzu_hma
[基金申请] 是这周出结果还是下周出结果? +4 yuleib84 2026-08-11 4/200 2026-08-14 23:05 by lfy8008
[硕博家园] 读博的好处 +4 lnee 2026-08-11 4/200 2026-08-14 10:20 by ahsoarli
[基金申请] 重要来源:本周末出结果 +10 瞬息宇宙 2026-08-12 10/500 2026-08-13 15:46 by likettle
[基金申请] 不应该看fileCode +7 且听虎啸 2026-08-12 9/450 2026-08-13 14:27 by flydreamws
[基金申请] Filecode 又变了,巨变 +3 WH3796 2026-08-12 4/200 2026-08-13 14:13 by 小木虫6752397
[基金申请] 分享一下我之前已中青C的计划书的filecode +4 布布和一二 2026-08-11 5/250 2026-08-13 12:56 by cratir
[基金申请] 结合人工智能,周易传统文化,filecode打分制来了,3分以上希望很大。 +3 Tide man 2026-08-12 4/200 2026-08-13 08:35 by ZJTJZ
[基金申请] 2019年青年基金涵评意见,大家看看几个A,几个B? +11 Tide man 2026-08-11 11/550 2026-08-13 07:35 by 撸猫猫
[基金申请] 什么时候出结果,有咨询渠道??? +3 Tide man 2026-08-11 3/150 2026-08-11 17:54 by kudofaye
信息提示
请填处理意见