24小时热门版块排行榜    

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

xiaoqiu007

新虫 (小有名气)

[求助] pwscf计算raman光谱报错

之前的自洽计算能顺利完成,但执行到ph.x时报错,输入文件及报错信息如下:
输入文件:
#!/bin/sh

####################################################################

export PW_ROOT=/usr/sharesoft/apps/pwscf/espresso-4.3/bin
export PSEUDO_DIR=../pseudo

export PARA_PREFIX='mpirun  -np 18'
# or   export PARA_PREFIX='mpirun' ,export  PARA_POSTFIX= -np 3
export TMP_DIR=../tmp/tmp1

rm -rf $TMP_DIR/*


export name='d194'

export a='0GPa'

cat > $name.scf.in_$a << EOF

&control
    calculation = 'scf'
    restart_mode='from_scratch',
    prefix='$name',
    pseudo_dir = '$PSEUDO_DIR/',
    outdir='$TMP_DIR/'
    tstress=.t.,
    tprnfor=.t.
/
&system
ibrav=4,
celldm(1)=6.357227657,
celldm(3)=1.814393151,
  nat= 8, ntyp= 2
ecutwfc =80,
occupations='smearing', smearing='methfessel-paxton', degauss=0.02
/
&electrons
    mixing_beta = 0.7
    conv_thr =  1.0d-8
/
ATOMIC_SPECIES
H     1.008      h.cpi.UPF
Sc    44.9559    Sc.cpi.UPF
ATOMIC_POSITIONS {crystal}
H   0.3333330000000028  0.6666669999999962  0.5923567327221010
H   0.6666669999999965  0.3333330000000026  0.0923567327221009
H   0.6666669999999972  0.3333330000000038  0.4076432672778991
H   0.3333330000000037  0.6666669999999973  0.9076432672778990
H   0.0000000000000000  0.0000000000000000  0.7500000000000000
H   0.0000000000000000  0.0000000000000000  0.2500000000000000
Sc  0.6666669999999968  0.3333330000000032  0.7500000000000000
Sc  0.3333330000000032  0.6666669999999968  0.2500000000000000
K_POINTS {automatic}
18 18 18  0 0 0
EOF
$PARA_PREFIX $PW_ROOT/pw.x  < $name.scf.in_$a >$name.scf.out_$a



cat > $name.phG.in << EOF
phonons of $name at Gamma
&inputph
tr2_ph=1.0d-12,
prefix='$name',
epsil=.true.,
lraman=.true.,
amass(1)=1.008,
amass(2)=44.955910,
outdir='$TMP_DIR/',
fildyn='$name.dynG',
/
0.0 0.0 0.0
EOF
$PARA_PREFIX $PW_ROOT/ph.x  < $name.phG.in >$name.phG.out


报错信息:

Program PHONON v.4.3       starts on 28Jun2011 at  2:51:23

     This program is part of the open-source Quantum ESPRESSO suite
     for quantum simulation of materials; please cite
         "P. Giannozzi et al., J. Phys.:Condens. Matter 21 395502 (2009);
          URL http://www.quantum-espresso.org",
     in publications or presentations arising from this work. More details at
     http://www.quantum-espresso.org/ ... ng_Quantum-ESPRESSO

     Parallel version (MPI), running on    18 processors
     R & G space division:  proc/pool =   18

     Ultrasoft (Vanderbilt) Pseudopotentials

   Info: using nr1, nr2, nr3 values from input

   Info: using nr1s, nr2s, nr3s values from input
     file h.cpi.UPF: wavefunction(s)  1 3 renormalized
     file Sc.cpi.UPF: wavefunction(s)  3 renormalized

   Stick Mesh
   ----------
   nst =   889,  nstw =   253, nsts =   889
               n.st   n.stw   n.sts    n.g    n.gw   n.gs
   min          49      14      49    2165     338    2165
   max          50      15      50    2170     347    2170
        889     253     889   39005    6131   39005



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     from phq_readin : error #         1
     no elec. field with metals
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

     stopping ...

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     from phq_readin : error #         1
     no elec. field with metals
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
回复此楼

» 猜你喜欢

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

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

W.Z.Zhou

捐助贵宾 (小有名气)

楼主解决这个问题了吗?同样遇到这个问题,新人求教!
幸福也罢,苦难也罢,都来自外界,坚毅则来自内心,来自一个人自身的努力。
5楼2018-05-03 09:34:20
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 6 个回答

landaulev

铜虫 (初入文坛)

【答案】应助回帖


uuv2010(金币+1): 欢迎参加交流 2011-09-11 16:23:52
这里计算含金属体系的介电性质:
epsil=.true.,
lraman=.true.
说明文件里有解释:
Do not set epsil to .true. if you have a metallic system or q/=0: the code will complain and stop.
2B
2楼2011-09-10 22:05:17
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

yinwei_li

木虫 (正式写手)

【答案】应助回帖

★ ★
zzy870720z(金币+2): 谢谢指教 2011-09-21 13:09:54
引用回帖:
1楼: Originally posted by xiaoqiu007 at 2011-06-28 03:25:11:
之前的自洽计算能顺利完成,但执行到ph.x时报错,输入文件及报错信息如下:
输入文件:
#!/bin/sh

####################################################################

export PW_ROOT=/usr/sharesoft/ ...

第一:金属材料是无法计算拉曼强度的,如果真的想算,可以去掉occupations='smearing', smearing='methfessel-paxton', degauss=0.02近似的计算试试。
第二:似乎记得算拉曼强度是不能用超软赝势的,很多年不做了,记不清了,你可以检验下试试!
与其临渊羡鱼,不如退而结网!
3楼2011-09-21 10:59:43
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

窦政科

新虫 (初入文坛)

我也遇到了同样的问题,请问楼主你的问题解决了吗,如果解决了,方便说一下吗,谢谢,急啊
龙翔天宇
4楼2017-02-22 11:55:53
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
信息提示
请填处理意见