Dear developer:<div>          I notice a little bug in matdyn.f90.</div><div>          I think the 657 line of matdyn.f90 is not compatable with the  *.fc file generated by q2r.x (QE Version 5.0).</div><div><br></div><div>

          From 655 to 659 lines of matdyn.f90, it is:</div><div><div><i>READ(1,*) ntyp,nat,ibrav,(celldm(i),i=1,6)</i></div><div><i>if (ibrav==0) then</i></div><div><i>        read(1,'(a)') atm ! for compatibility</i></div>

<div><i>        read(1,*) ((at(i,j),i=1,3),j=1,3)</i></div><div><i>end if</i></div><div><br></div><div>         The *.fc file generated by q2r.x looks like:</div><div><div><i>10  0  4.1119002  0.0000000  0.0000000  0.0000000  0.0000000  0.0000000</i></div>

<div><i>-1.130320132    1.130320132    1.130320132</i></div><div><i> 1.130320132   -1.130320132    1.130320132</i></div><div><i> 1.130320132    1.130320132   -1.130320132</i></div></div><div><br></div><div>         As you can see, "<i> read(1,'(a)') atm ! for compatibility</i>" of matdyn.x will read the second line of *.fc (<i>-1.130320132    1.130320132    1.130320132</i>). Therefore, "<i>read(1,*) ((at(i,j),i=1,3),j=1,3)</i>" of matdyn.x will fail with the error message"forrtl: severe (64): input conversion error, unit 1, file /home/lykong/hwang/N6B4/phonon/N6B4.0Gpa.fc"</div>

<div><br></div><div>         I hope my report is right :)</div><div>         Thank you very much  :)</div><div><br></div>-- <br>____________________________________<br>Hui Wang<br>School of physics, Fudan University, Shanghai, China
</div>