<div dir="ltr">I used 3 input files; the first scf is ok and the second also but the problem always in the third one( 

<span style="font-family:"Courier New""><a href="http://avg.in">avg.in</a>). There are CRASH or the calculation run more then 47h without any result.</span><div><br></div><div><p class="gmail-MsoPlainText" style="margin:0cm 0cm 0.0001pt;font-family:Consolas"><u style=""><span lang="EN-US" style="font-family:"Courier New"">File 2:</span></u></p>

<p class="gmail-MsoPlainText" style="margin:0cm 0cm 0.0001pt;font-family:Consolas"><span lang="EN-US" style="font-family:"Courier New""> </span></p>

<p class="gmail-MsoPlainText" style="margin:0cm 0cm 0.0001pt;font-family:Consolas"><span lang="EN-US" style="font-family:"Courier New"">&INPUTPP<br>
                      prefix = ‘ZnOGaN' ,<br>
                      outdir = './out/'
,<br>
                     filplot = 'ZnOGaN.pot'
,<br>
                    plot_num = 1,<br>
/<br>
 </span></p>

<p class="gmail-MsoPlainText" style="margin:0cm 0cm 0.0001pt;font-family:Consolas"><span lang="EN-US" style="font-family:"Courier New""># pp.x < <a href="http://ZnOGaN.pp.in">ZnOGaN.pp.in</a>
> ZnOGaN.pp.o</span><span lang="EN-US" style="font-family:"Courier New"">ut</span></p>

<p class="gmail-MsoPlainText" style="margin:0cm 0cm 0.0001pt;font-family:Consolas"><span lang="EN-US" style="font-family:"Courier New""> </span></p>

<p class="gmail-MsoPlainText" style="margin:0cm 0cm 0.0001pt;font-family:Consolas"><u><span lang="EN-US" style="font-family:"Courier New"">File 3:</span></u></p>

<p class="gmail-MsoPlainText" style="margin:0cm 0cm 0.0001pt;font-family:Consolas"><span lang="EN-US" style="font-family:"Courier New""> </span></p>

<p class="gmail-MsoPlainText" style="margin:0cm 0cm 0.0001pt;font-family:Consolas"><span lang="EN-US" style="font-family:"Courier New"">1<br>
ZnOGaN.pot<br>
1.0<br>
3000<br>
3<br>
2.59<br>
 </span></p>

<p class="gmail-MsoPlainText" style="margin:0cm 0cm 0.0001pt;font-family:Consolas"><span lang="EN-US" style="font-family:"Courier New"">#average.x < <a href="http://ZnOGaN.avg.in">ZnOGaN.avg.in</a>
> ZnOGaN.avg.out</span></p><p class="gmail-MsoPlainText" style="margin:0cm 0cm 0.0001pt;font-family:Consolas"><span lang="EN-US" style="font-family:"Courier New""><br></span></p><p class="gmail-MsoPlainText" style="margin:0cm 0cm 0.0001pt;font-family:Consolas"><span lang="EN-US" style="font-family:"Courier New"">I want to have curve like "pot_"</span></p><p class="gmail-MsoPlainText" style="margin:0cm 0cm 0.0001pt;font-family:Consolas"><span lang="EN-US" style="font-family:"Courier New"">Thank you.</span></p></div></div><div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br> <table style="border-top:1px solid #d3d4de">
        <tr>
      <td style="width:55px;padding-top:18px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
                <td style="width:470px;padding-top:17px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Garanti sans virus. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank" style="color:#4453ea">www.avast.com</a>           </td>
        </tr>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div><br><div class="gmail_quote"><div dir="ltr">Le mer. 5 déc. 2018 à 20:44, Stefano Baroni <<a href="mailto:baroni@sissa.it">baroni@sissa.it</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">How could we? SB<br>
<br>
___<br>
Stefano Baroni, Trieste -- <a href="http://stefano.baroni.me" rel="noreferrer" target="_blank">http://stefano.baroni.me</a><br>
<br>
> On 5 Dec 2018, at 20:34, Nesrine Kouaydi <<a href="mailto:nesrine.akouaydi@gmail.com" target="_blank">nesrine.akouaydi@gmail.com</a>> wrote:<br>
> <br>
> Dear QE users<br>
> <br>
> I am trying to study the planar and macroscopic potentials for heterojunction. I am using average.x but all the time there is error. Can any one help me.<br>
> Thanks in advance.<br>
> _______________________________________________<br>
> users mailing list<br>
> <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br>
> <a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a><br>
<br>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a><br>
</blockquote></div>