<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Dear Andrea,<BR>
&nbsp;<BR>
Thanks very much for the information. In fact, when I am running the ph2.in file (for q=2), it&nbsp;runs normally and doesnt give any error except that the output does not have a dynamical matrix i.e. the output looks like:<BR>
&nbsp;<BR>
&nbsp;<BR>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3>Program PHONON v.4.2<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>starts on<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>2Jun2010 at 17:44:23 <BR><BR><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>This program is part of the open-source Quantum ESPRESSO suite<BR><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>for quantum simulation of materials; please acknowledge<BR><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>"P. Giannozzi et al., J. Phys.:Condens. Matter 21 395502 (2009);<BR><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>URL http://www.quantum-espresso.org", <BR><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>in publications or presentations arising from this work. More details at<BR><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>http://www.quantum-espresso.org/wiki/index.php/Citing_Quantum-ESPRESSO<BR><BR><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Ultrasoft (Vanderbilt) Pseudopotentials<BR><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Starting q<SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>2 larger than total number of q points<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>10 or of last q<SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>1<BR><BR><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>PHONON<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>:<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>7.04s CPU time,<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>7.83s WALL time<BR><BR><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>INITIALIZATION: <BR><BR><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>init_vloc<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>:<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>0.02s CPU<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>0.02s WALL (<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>1 calls)<BR><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>init_us_1 <SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;</SPAN>:<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>0.02s CPU<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>0.02s WALL (<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>1 calls)<BR><BR><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>DYNAMICAL MATRIX:<BR><BR><BR></FONT></SPAN></P>
<SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3></FONT></SPAN>&nbsp;<BR>
<SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3></FONT></SPAN>&nbsp;<BR>
<SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3></FONT></SPAN>&nbsp;<BR>
<SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3></FONT></SPAN>&nbsp;<BR>
<SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3></FONT></SPAN>&nbsp;<BR>
<SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3></FONT></SPAN>&nbsp;<BR>
<SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3>&nbsp;<BR>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><BR><BR><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>General routines<BR><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>cft3<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>:<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>0.03s CPU<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>0.03s WALL (<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>3 calls)</FONT><BR></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">&nbsp;</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">so it is empty underneath DYNAMICAL MATRIX. The only way i was able to get rid of the recover error is to omit recover=.true. in the ph.in program but I guess this is essential. I will also post the scf calculation below:</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">&nbsp;</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">&nbsp;</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3>&amp;control<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>prefix='phmonog',<o:p></o:p></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>calculation='scf',<o:p></o:p></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>restart_mode='from_scratch',<o:p></o:p></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>pseudo_dir = '/espresso-4.2/pseudo/',<o:p></o:p></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>outdir='/tmp/results_MOUJAES/'<o:p></o:p></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>verbosity='high'<o:p></o:p></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN><o:p></o:p></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>/<o:p></o:p></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>&amp;system<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN><o:p></o:p></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>ibrav=<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>4, celldm(1) =4.608737, celldm(3)=5.0, nat=2, ntyp= 1,<o:p></o:p></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>ecutwfc = 110.D0,occupations='smearing', smearing='methfessel-paxton', degauss=0.01<o:p></o:p></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3>/<o:p></o:p></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>&amp;electrons<o:p></o:p></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>conv_thr=1.D-10,<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><o:p></o:p></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>diagonalization='david',<o:p></o:p></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>mixing_mode='plain'<o:p></o:p></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>/<o:p></o:p></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3>ATOMIC_SPECIES<o:p></o:p></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>C<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>12.0107<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>C.pz-vbc.UPF<o:p></o:p></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3>ATOMIC_POSITIONS crystal<o:p></o:p></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>C 0.000000<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>0.000000 0.000000<SPAN style="mso-spacerun: yes">&nbsp; </SPAN><o:p></o:p></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>C 0.333333<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>-0.33333 0.000000<SPAN style="mso-spacerun: yes">&nbsp; </SPAN><o:p></o:p></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3>K_POINTS automatic<o:p></o:p></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3>26 26 1 0 0 0<o:p></o:p></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">&nbsp;</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">ANY SUGGESTIONS?</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">&nbsp;</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">Thank you</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">&nbsp;</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">Elie Moujaes</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">University fo Nootingham</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">NG7 2RD</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">UK</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><BR>&nbsp;</P></SPAN>
<BR>&nbsp;<BR>&gt; Date: Fri, 4 Jun 2010 21:15:04 +0200<BR>&gt; From: dalcorso@sissa.it<BR>&gt; To: pw_forum@pwscf.org<BR>&gt; CC: dalcorso@sissa.it<BR>&gt; Subject: [Pw_forum] error while compiling the start_q, last_q, start_irr and last_irr technique<BR>&gt; <BR>&gt; I am still using the start_q, last_q, start_irr and last_irr technique <BR>&gt; (from GRID example) to calculate the phonon dispersion in graphene. <BR>&gt; Everything is ok until I run ph.x for the first q (q=1 the Gamma <BR>&gt; point). The input is:<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; Phonon dispersion for monolayer graphene<BR>&gt; <BR>&gt; &amp;inputph<BR>&gt; <BR>&gt; tr2_ph=1.0d-13,<BR>&gt; <BR>&gt; prefix='phmonog',<BR>&gt; <BR>&gt; ldisp=.true.,<BR>&gt; <BR>&gt; nq1=8, nq2=8, nq3=1<BR>&gt; <BR>&gt; start_q=1,<BR>&gt; <BR>&gt; last_q=1,<BR>&gt; <BR>&gt; start_irr=1,<BR>&gt; <BR>&gt; last_irr=4,<BR>&gt; <BR>&gt; recover=.true.,<BR>&gt; <BR>&gt; amass(1)=12.0107,<BR>&gt; <BR>&gt; outdir='/tmp/results_MOUJAES/q1',<BR>&gt; <BR>&gt; fildyn='mgraph881.dyn',<BR>&gt; <BR>&gt; /<BR>&gt; <BR>&gt; No errors in running ph.x but teh output is a bit strange like :<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; Program PHONON v.4.2 starts on 4Jun2010 at 14:35:33<BR>&gt; <BR>&gt; This program is part of the open-source Quantum ESPRESSO suite<BR>&gt; for quantum simulation of materials; please acknowledge<BR>&gt; "P. Giannozzi et al., J. Phys.:Condens. Matter 21 395502 (2009);<BR>&gt; URL http://www.quantum-espresso.org",<BR>&gt; in publications or presentations arising from this work. More details at<BR>&gt; http://www.quantum-espresso.org/wiki/index.php/Citing_Quantum-ESPRESSO<BR>&gt; <BR>&gt; Ultrasoft (Vanderbilt) Pseudopotentials<BR>&gt; Starting q 2 larger than total number of q points 10 or of last q 1<BR>&gt; <BR>&gt; This error depends on the fact that the recover procedure is confused <BR>&gt; because the code was doing the second q point when it was interrupted <BR>&gt; and<BR>&gt; now you are trying to recover (you have recover=.true.) but ask to calculate<BR>&gt; only q point 1. You are not allowed to change start_q and last_q <BR>&gt; before finishing a calculation. Probably this part should be more <BR>&gt; robust for these kind of problems, but at the moment it is not, sorry.<BR>&gt; <BR>&gt; When you try again and change q point to 2, the recover files are now <BR>&gt; a mess and you get an error from the library routine that reads<BR>&gt; the recovering files.<BR>&gt; <BR>&gt; At this point the only solution is to remove the outdir/_ph* files and<BR>&gt; start again. If you have already the dynamical matrices of all q points<BR>&gt; but the first you can simply calculate the gamma point starting from scratch.<BR>&gt; <BR>&gt; If the problem is still present after cleaning the outdir directory, <BR>&gt; and it is reproducible, please post also the input of pw.x.<BR>&gt; <BR>&gt; HTH<BR>&gt; <BR>&gt; Andrea<BR>&gt; <BR>&gt; ----------------------------------------------------------------<BR>&gt; SISSA Webmail https://webmail.sissa.it/<BR>&gt; Powered by Horde http://www.horde.org/<BR>&gt; <BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; Pw_forum mailing list<BR>&gt; Pw_forum@pwscf.org<BR>&gt; http://www.democritos.it/mailman/listinfo/pw_forum<BR>                                               <br /><hr />Get a free e-mail account with Hotmail. <a href='http://clk.atdmt.com/UKM/go/197222280/direct/01/' target='_new'>Sign-up now.</a></body>
</html>