<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">quite strange, the file looks ok, are you sure that this is just the input you’re using? Maybe any special (hidden) character<div class="">is present in the file?</div><div class=""><br class=""></div><div class="">I tried to run average.x with your input and it works, in that it passes the line that gives you the error and of course complains</div><div class="">about the inexistent WS2.pot file (as it should do).</div><div class=""><br class=""></div><div class="">Giovanni</div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 12 Mar 2019, at 12:41, Ubaid Mohd <<a href="mailto:onlymubaid@gmail.com" class="">onlymubaid@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><pre style="white-space: pre-wrap;" class="">Dear All QE Users,</pre><pre style="white-space:pre-wrap" class=""><font class="">I am using the <span class="gmail-il">average</span>.x now and the read the input file as follow :</font></pre><pre style="white-space:pre-wrap" class=""><font class=""><span class="gmail-il">1</span>
WS2.pot
<span class="gmail-il">1</span>.D0
1440
3
<span class="gmail-il">1</span>.461144408<br class=""></font></pre></div><div class="">but when run this it has the follow <span class="gmail-il">error</span>:</div><div class=""><br class=""></div><div class="">     <span class="gmail-il">Error</span> in <span class="gmail-il">routine</span> <span class="gmail-il">average</span> (<span class="gmail-il">1</span>):</div><div class="">     <span class="gmail-il">nfile</span> is <span class="gmail-il">wrong</span></div><div class=""><br class=""></div><div class=""><span class="gmail-il">nfile</span> should be right, I have read the source file, only when <span class="gmail-il">nfile</span> <=0 or >7 will show this <span class="gmail-il">error</span>, but in my input file it is set to be <span class="gmail-il">1</span>. <span style="" class="">Would you please give me some suggestion on what might be the issue? Thanks very much.</span></div><div class=""><span style="" class=""><br class=""></span></div><div class=""><span style="" class="">Best wishes</span></div><div class=""><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><font face="arial, helvetica, sans-serif" color="#0c343d" style="font-size:12.8px" class=""><i class="">Mohammad Ubaid</i></font><div style="color:rgb(136,136,136);font-size:12.8px" class=""><font face="arial, helvetica, sans-serif" color="#0c343d" class=""><i class="">PhD Research Scholar</i></font></div><div style="color:rgb(136,136,136);font-size:12.8px" class=""><font face="arial, helvetica, sans-serif" color="#0c343d" class=""><i class="">Department of Physics</i></font></div><div style="color:rgb(136,136,136);font-size:12.8px" class=""><font face="arial, helvetica, sans-serif" color="#0c343d" class=""><i class="">Jamia Millia Islamia University</i></font></div><div style="color:rgb(136,136,136);font-size:12.8px" class=""><font face="arial, helvetica, sans-serif" color="#0c343d" class=""><i class="">New Delhi - 110025</i></font></div></div></div></div></div>
_______________________________________________<br class="">users mailing list<br class=""><a href="mailto:users@lists.quantum-espresso.org" class="">users@lists.quantum-espresso.org</a><br class="">https://lists.quantum-espresso.org/mailman/listinfo/users</div></blockquote></div><br class=""><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span style="color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">-- <br class=""><br class="">Giovanni Cantele, PhD</span></div><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span style="color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class="">CNR-SPIN<br class="">c/o Dipartimento di Fisica<br class="">Universita' di Napoli "Federico II"<br class="">Complesso Universitario M. S. Angelo - Ed. 6<br class="">Via Cintia, I-80126, Napoli, Italy</span></div><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span style="color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""><a href="mailto:giovanni.cantele@spin.cnr.it" class="">e-mail: giovanni.cantele@spin.cnr.it</a></span></div><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span style="color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">            <a href="mailto:gcantele@gmail.com" class="">gcantele@gmail.com</a><br class="">Phone: +39 081 676910<br class="">Skype contact: giocan74<br class="">Web page:<span class="Apple-converted-space"> </span></span><a href="https://sites.google.com/view/giovanni-cantele" class="">https://sites.google.com/view/giovanni-cantele</a></div></div></div></div>
</div>
<br class=""></div></body></html>