Dear all,<br><br>   When I was trying to compute the phonon dispersion using matdyn.x from espresso-5.0, I encountered a file reading error.<br><br>It seems that in the case of ibrav==0, one line (line 657) in matdyn.f90 should be commented out:<br>
  if (ibrav==0) then<br>      read(1,&#39;(a)&#39;) atm ! for compatibility<br>      read(1,*) ((at(i,j),i=1,3),j=1,3)<br> end if<br><br>should be <br>if (ibrav==0) then<br>     !
read(1,&#39;(a)&#39;) atm ! for compatibility<br>
      read(1,*) ((at(i,j),i=1,3),j=1,3)<br> end if<br><br>Please let me know if the deletion of the line is incorrect.<br><br>Thank you.<br><br>Best,<br>Hongjun Xiang<br><br>-- <br>=========================================================================<br>
Hongjun Xiang<br>Department of Physics, Fudan University<br>e-mail: <a href="mailto:hxiang@fudan.edu.cn">hxiang@fudan.edu.cn</a><br><a href="http://www.physics.fudan.edu.cn/chinese/doku.php?id=people:xianghongjun">http://www.physics.fudan.edu.cn/chinese/doku.php?id=people:xianghongjun</a><br>
=========================================================================<br><br>