<p>Dear all:<br>&nbsp;&nbsp; I encountered the error message &quot;wrong total_weight&quot; in my phdos calculation with serial matdyn.x. The QE-4.0.2 was compiled with ifort-10.1.015_intal64, lam-7.1.4(and also openmpi-1.2.7) and MKL-10.0.3.020 under RedHat Enterprise Linux Server 5.2 environment. The CPU is Quad-Core AMD Opteron(tm) Processor 2356. The detail information of my calculation are as follows:<br>
&nbsp;&nbsp; I want to obtain the phonon-dos of silicon vacancy (ground state configuration) with Si63 supercell at gamma point.&nbsp; The step-by-step inputfiles are:<br>for scf calculation<br>-------------------<br>&nbsp;&amp;CONTROL<br>&nbsp;&nbsp;&nbsp; calculation&nbsp; = &#39;scf&#39;<br>
&nbsp;&nbsp;&nbsp; verbosity&nbsp;&nbsp;&nbsp; = &#39;high&#39;<br>&nbsp;&nbsp;&nbsp; restart_mode = &#39;from_scratch&#39;<br>&nbsp;&nbsp;&nbsp; pseudo_dir&nbsp;&nbsp; = &#39;/home/pub/pplib/&#39;<br>&nbsp;&nbsp;&nbsp; outdir = &#39;/tmp/&#39;<br>&nbsp;&nbsp;&nbsp; prefix = &#39;Si-V1&#39;<br>&nbsp;&nbsp;&nbsp; tprnfor = .true.<br>&nbsp;&nbsp;&nbsp; nstep&nbsp;&nbsp; = 200<br>
&nbsp;/<br>&amp;SYSTEM<br>&nbsp;&nbsp;&nbsp; ibrav =&nbsp; 1 <br>&nbsp;&nbsp;&nbsp; celldm(1) = 20.70<br>&nbsp;&nbsp;&nbsp; nat&nbsp; = 63 <br>&nbsp;&nbsp;&nbsp; ntyp = 1<br>&nbsp;&nbsp;&nbsp; occupations = &#39;smearing&#39;<br>&nbsp;&nbsp;&nbsp; degauss&nbsp;&nbsp;&nbsp;&nbsp; = 0.002<br>&nbsp;&nbsp;&nbsp; smearing&nbsp;&nbsp;&nbsp; = &#39;mv&#39;<br>&nbsp;&nbsp;&nbsp; ecutwfc = 34<br>&nbsp;/<br>
&amp;ELECTRONS<br>&nbsp;&nbsp;&nbsp; conv_thr = 1.0D-8<br>&nbsp;&nbsp;&nbsp; diagonalization=&#39;david&#39;<br>&nbsp;&nbsp;&nbsp; mixing_mode&nbsp; = &#39;plain&#39;<br>&nbsp;&nbsp;&nbsp; mixing_beta = 0.3<br>&nbsp;/<br>ATOMIC_SPECIES<br>&nbsp;Si 28.0855 Si.pbe-rrkj.UPF<br>ATOMIC_POSITIONS (crystal)<br>
.<br>Si coordinates<br>.<br>etc<br>K_POINTS <br>1<br>0.0 0.0 0.0 1.0<br>-----------------<br>for phonon calcuation:<br>----------------------<br>&amp;INPUTPH<br>&nbsp;amass(1) = 28.0855<br>&nbsp;outdir = &#39;/tmp/&#39;<br>&nbsp;prefix = &#39;Si-V1&#39;<br>
&nbsp;tr2_ph = 1.0d-12<br>&nbsp;alpha_mix(1) = 0.1<br>&nbsp;iverbosity&nbsp;&nbsp; = 0<br>&nbsp;reduce_io = .true.<br>! recover&nbsp; = .true.<br>&nbsp;fildyn = &#39;Si-V1.dynG&#39;<br>! epsil&nbsp; = .true.<br>&nbsp;trans&nbsp; = .true.<br>/<br>0.0&nbsp; 0.0&nbsp; 0.0<br>--------------</p>

<p>for the IFC calculation:<br>-----------------------<br>&amp;input<br>&nbsp; fildyn = &#39;Si-V1.dynG&#39;<br>&nbsp; flfrc&nbsp; = &#39;Si-V1.fc&#39;<br>&nbsp; zasr&nbsp;&nbsp; = &#39;crystal&#39;<br>/<br>1 1 1<br>1<br>Si-V1.dynG<br>-----------------<br>
All the above calcualtions finished well. However, the forenamed error message appeared when I calculated the phonon dos with dense q-points.<br>for the phonon dos calculation:<br>-------------------------------<br>&amp;input<br>
&nbsp; flfrc = &#39;Si-V1.fc&#39;<br>&nbsp; asr = &#39;crystal&#39;<br>&nbsp; dos = .true.<br>&nbsp; nk1=10, nk2=10, nk3=10<br>&nbsp; deltaE = 0.1<br>&nbsp; fldos = &#39;Si-V1.phdos-10-0.1&#39;<br>&nbsp; flfrq = &#39;Si-V1.freq-10-0.1&#39;<br>&nbsp; flvec = &#39;Si-V1.modes-10-0.1&#39;<br>
&nbsp; ntyp&nbsp; = 1<br>&nbsp; amass(1) = 28.0855<br>/<br>--------------------</p>
<p>The matdyn.x stopped and complained that<br>--------the matdyn.x outfile-----<br>&nbsp;&nbsp;&nbsp;&nbsp; warning: symmetry operation # 34 not allowed.&nbsp;&nbsp; fractional translation:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -0.0000387&nbsp; 0.0000000&nbsp; 0.0000387&nbsp; in crystal coordinates<br>
Norm of the difference between old and new effective charges:&nbsp;&nbsp;&nbsp; 0.00000000000000000000<br>Norm of the difference between old and new force-constants:&nbsp;&nbsp; 0.01586035815826266834<br>&nbsp; 0.833333333333333&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
&nbsp;&nbsp;&nbsp;&nbsp; from frc_blk : error #&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br>&nbsp;&nbsp;&nbsp;&nbsp; wrong total_weight<br>&nbsp;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>&nbsp;&nbsp;&nbsp;&nbsp; stopping ...<br>---------------------<br>So, what&#39;s wrong with it? code bug or miscompiled?Is something wrong with the input-parameters in my inputfile? I searched the mailist and found nothing could solve the problem. BTW, with the similar calculation, I got optic frequency of 514.4 cm^-1 (expt. 518 cm^-1) at gamma point using the perfect Si64 suprecell. If you would like to test the problem, the Si-V1.dynG can be found at <a href="http://www.divshare.com/download/5725901-c73">http://www.divshare.com/download/5725901-c73</a> due to the froum file limits. Please be patient for 15 seconds adversting when you download it :).<br>
Any ideas are appreciated! Thanks a lot!<br>Best regards!<br>&nbsp;<br>shany<br>Graduate School of Chinese Academy of Sciences </p>