<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Dear Jinxi,</span></div><div><span>I got the same problem few days back, and fortunately it is solved now. The thing is davcio is for reading from input and writing to the output, now if you scf calculation is done in different number of processor than your Projwfc.x than it get problem while reading from input. So please check if your pw.x calculation and projwfc.x caculation have same number of processor or not.</span></div><div>Thank you.</div><div><br></div><div>Alamgir Kabir</div><div>PhD Student University of Central Florida</div><div>U.S.A<br><span></span></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <font face="Arial" size="2"> <hr size="1">  <b><span
 style="font-weight:bold;">From:</span></b> Gabriele Sclauzero <gabriele.sclauzero@epfl.ch><br> <b><span style="font-weight: bold;">To:</span></b> PWSCF Forum <pw_forum@pwscf.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, December 7, 2011 8:33 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Pw_forum] projwfc.x meet error<br> </font> <br>
<div id="yiv1646676805"><div>Dear Jinxi,<div><br></div><div>    davcio is the subroutine dedicated to input/output of restart files. The error code is related to the value of some internal variable when the code crashed and sometimes it might be useful to identify better at which point it stopped, but you shouldn't attach any special meaning to that number. Just check that your files are not corrupted and that you do things properly.</div><div><br></div><div>Regards,</div><div><br></div><div>GS</div><div><br></div><div><div><div>Il giorno 07/dic/2011, alle ore 10.29, jinxi ha scritto:</div><br class="yiv1646676805Apple-interchange-newline"><blockquote type="cite"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial;"><div>Dear Sclauzero:</div>
<div>   Thanks for remind me.</div>
<div>   The error message:</div>
<div>     from davcio : error #        10</div>
<div>   But how can i know what is ''error number 10?''</div>
<div>   i 've set ''wf_collect = .true.'' <br>many thanks!!</div>
<div>____________________________________________________________<br>jinxi</div>
<div><font face="Arial" size="3">State Key Laboratory of Physical Chemistry of Solid Surfaces, <br>Department of Chemistry, College of Chemistry & Chemical Engineering, <br>Xiamen University, Xiamen, 361005, P.R.China</font></div>
<div><font size="3">_________________________________________________</font></div>
<div><br></div>At 2011-12-07 16:57:24,"Gabriele Sclauzero" <<a rel="nofollow" ymailto="mailto:gabriele.sclauzero@epfl.ch" target="_blank" href="mailto:gabriele.sclauzero@epfl.ch">gabriele.sclauzero@epfl.ch</a>> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex;" id="yiv1646676805isReplyContent">Dear Jinxi,
<div><br></div>
<div>    please include your affiliation in your next posts. </div>
<div><br>
<div>
<div>Il giorno 07/dic/2011, alle ore 09.20, jinxi ha scritto:</div><br class="yiv1646676805Apple-interchange-newline">
<blockquote type="cite">
<div style="LINE-HEIGHT:1.7;FONT-FAMILY:arial;COLOR:#000000;FONT-SIZE:14px;">
<div> </div><span style="FONT-SIZE:18px;">
<div>Dear all:</div>
<div><u>When I calculate PDOS using projwfc.x, I meet error like this:</u></div></span>
<div><span style="FONT-SIZE:18px;"></span>  Calling projwave ....</div>
<div> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     </div>
<div>     from davcio : error #        10<br>     error while reading from file<br> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     </div>
<div>     stopping ...<br></div></div></blockquote>
<div><br></div>
<div><br></div>
<div>This is pretty self explanatory: there has been an error while reading from file (in this case the wavefunctions, *.wfc* files), probably because the file(s) is (are) corrupted or because you ran the postprocessing on a different number of processors than for the previous pw.x calculation.</div><br>
<blockquote type="cite">
<div style="LINE-HEIGHT:1.7;FONT-FAMILY:arial;COLOR:#000000;FONT-SIZE:14px;">
<div><u>But example08 and example16 are OK, I guess there's something wrong with my pseudopotential file. </u></div></div></blockquote>
<div><br></div>
<div>I don't think you can blame your PP file. I think you should search for possible reasons giving this error in the user guide, the FAQ, and in the forum archives. </div><br>
<blockquote type="cite">
<div style="LINE-HEIGHT:1.7;FONT-FAMILY:arial;COLOR:#000000;FONT-SIZE:14px;">
<div> </div>
<div><u>how can i modify the file to pass reading wavefunctions?</u></div></div></blockquote>
<div><br></div>
<div>I don't understand completely what you meant here. The wavefunctions are needed by projwfc.x, you can't run this calculation if you don't have them. The wavefunctions are automatically written by pw.x at the end of the run. In some cases, you may need to use the wf_collect option (see input description in Doc/).</div>
<div><br></div>
<div><br></div>
<div>HTH</div>
<div><br></div>
<div><br></div>
<div>GS</div><br>
<blockquote type="cite">
<div style="LINE-HEIGHT:1.7;FONT-FAMILY:arial;COLOR:#000000;FONT-SIZE:14px;">
<div>many thanks!!</div>
<div>jinxi</div>
<div> </div>
<div> </div></div><br><br><span title="neteasefooter"><span id="yiv1646676805netease_mail_footer"></span></span>_______________________________________________<br>Pw_forum mailing list<br><a rel="nofollow" ymailto="mailto:Pw_forum@pwscf.org" target="_blank" href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>http://www.democritos.it/mailman/listinfo/pw_forum<br></blockquote></div><br>
<div><span style="widows:2;text-transform:none;text-indent:0px;border-collapse:separate;font:normal normal normal medium/normal Helvetica;white-space:normal;orphans:2;letter-spacing:normal;word-spacing:0px;" class="yiv1646676805Apple-style-span"><span style="widows:2;text-transform:none;text-indent:0px;border-collapse:separate;font:normal normal normal medium/normal Helvetica;white-space:normal;orphans:2;letter-spacing:normal;word-spacing:0px;" class="yiv1646676805Apple-style-span"><span style="widows:2;text-transform:none;text-indent:0px;border-collapse:separate;font:normal normal normal medium/normal Helvetica;white-space:normal;orphans:2;letter-spacing:normal;word-spacing:0px;" class="yiv1646676805Apple-style-span">
<div style="WORD-WRAP:break-word;"><span style="widows:2;text-transform:none;text-indent:0px;border-collapse:separate;font:normal normal normal medium/normal Helvetica;white-space:normal;orphans:2;letter-spacing:normal;word-spacing:0px;" class="yiv1646676805Apple-style-span">
<div style="WORD-WRAP:break-word;"><span style="widows:2;text-transform:none;text-indent:0px;border-collapse:separate;font:normal normal normal medium/normal Helvetica;white-space:normal;orphans:2;letter-spacing:normal;word-spacing:0px;" class="yiv1646676805Apple-style-span">
<div style="WORD-WRAP:break-word;"><span style="widows:2;text-transform:none;text-indent:0px;border-collapse:separate;font:normal normal normal medium/normal Helvetica;white-space:normal;orphans:2;letter-spacing:normal;word-spacing:0px;" class="yiv1646676805Apple-style-span">
<div style="WORD-WRAP:break-word;"><span style="widows:2;text-transform:none;text-indent:0px;border-collapse:separate;font:normal normal normal medium/normal Helvetica;white-space:normal;orphans:2;letter-spacing:normal;word-spacing:0px;" class="yiv1646676805Apple-style-span">
<div style="WORD-WRAP:break-word;">
<div><span style="FONT-STYLE:italic;COLOR:rgb(126,126,126);FONT-SIZE:16px;" class="yiv1646676805Apple-style-span"><br class="yiv1646676805Apple-interchange-newline">§ Gabriele Sclauzero, EPFL SB ITP CSEA</span></div>
<div><font class="yiv1646676805Apple-style-span" color="#7e7e7e"><i>   PH H2 462, Station 3, CH-1015 Lausanne</i></font></div></div></span><br class="yiv1646676805Apple-interchange-newline"></div></span><br class="yiv1646676805Apple-interchange-newline"></div></span><br class="yiv1646676805Apple-interchange-newline"></div></span><br class="yiv1646676805Apple-interchange-newline"></div></span><br class="yiv1646676805Apple-interchange-newline"></span><br class="yiv1646676805Apple-interchange-newline"></span></div><br></div></blockquote></div><br><br><span title="neteasefooter"><span id="yiv1646676805netease_mail_footer"></span></span>_______________________________________________<br>Pw_forum mailing list<br><a rel="nofollow" ymailto="mailto:Pw_forum@pwscf.org" target="_blank" href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>http://www.democritos.it/mailman/listinfo/pw_forum<br></blockquote></div><br><div>
<span class="yiv1646676805Apple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;"><span class="yiv1646676805Apple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;"><span class="yiv1646676805Apple-style-span" style="border-collapse:separate;color:rgb(0, 0,
 0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;"><div style="word-wrap:break-word;"><span class="yiv1646676805Apple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;"><div style="word-wrap:break-word;"><span class="yiv1646676805Apple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;"><div
 style="word-wrap:break-word;"><span class="yiv1646676805Apple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;"><div style="word-wrap:break-word;"><span class="yiv1646676805Apple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;"><div style="word-wrap:break-word;"><div><span class="yiv1646676805Apple-style-span" style="color:rgb(126, 126, 126);font-size:16px;font-style:italic;"><br class="yiv1646676805Apple-interchange-newline">§ Gabriele Sclauzero, EPFL SB ITP
 CSEA</span></div><div><font class="yiv1646676805Apple-style-span" color="#7E7E7E"><i>   PH H2 462, Station 3, CH-1015 Lausanne</i></font></div></div></span><br class="yiv1646676805Apple-interchange-newline"></div></span><br class="yiv1646676805Apple-interchange-newline"></div></span><br class="yiv1646676805Apple-interchange-newline"></div></span><br class="yiv1646676805Apple-interchange-newline"></div></span><br class="yiv1646676805Apple-interchange-newline"></span><br class="yiv1646676805Apple-interchange-newline"></span>
</div>
<br></div></div></div><br>_______________________________________________<br>Pw_forum mailing list<br><a ymailto="mailto:Pw_forum@pwscf.org" href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br><a href="http://www.democritos.it/mailman/listinfo/pw_forum" target="_blank">http://www.democritos.it/mailman/listinfo/pw_forum</a><br><br><br> </div> </div>  </div></body></html>