<div dir="ltr">Greetings QE developers and users.<div>During the past days I was trying to calculate the work function for a LiNiO2(001) slab by following the steps provided in Al(001) PP Examples directory. Post-processing Al to get<span style="color:rgb(0,0,0);font-size:14px"> V_bare + V_H potential</span> (plot_num = 11) follows as expected, but on getting the macroscopic average using average.x, it fails, returning error:</div><div><br></div><div><div> <i>%%%%%%%%%%%%%%%%%%<br></i></div><div><i>     Error in routine average (1):</i></div><div><i>     nfile is wrong</i></div><div><i> %%%%%%%%%%%%%%%%%%</i><br></div></div><div><br></div><div>Note that I've just changed the pseudo-potential to PAW and the working directory.</div><div>On my own system, doing exactly the same thing wont even pass through the post-processing step, returning the following error:</div><div><br></div><div><div>    <i> Calling punch_plot, plot_num =  11</i></div><div><i>     Writing data to file  LNO001.pot</i></div><div><i>     Reading data from file  LNO001.pot</i></div><div><i><br></i></div><div><i> %%%%%%%%%%%%%%%%%%</i></div><div><i>     Error in routine chdens (1):</i></div><div><i>     nx,ny,nz, required</i></div><div><i> %%%%%%%%%%%%%%%%%%</i></div></div><div><br></div><div>I have a few doubts on this:</div><div>1) Why does it need at all to generate a plotable file (i.e. filepp), even though average.x is operating only on the intermediate potential file (i.e. filplot); is there any reason for having NAMELIST &PLOT used?</div><div>2) Any ideas on why I'm getting the nx,ny,nz required on my case, but not on Al example?</div><div><br></div><div>I tried to supply 20,20,240 as nx,ny,nz, but post processing never ends even after 10 hours with 24 processor cores.</div><div>I'm using QE 6.1 on a HPCC, equipped with <span style="color:rgb(0,0,0);font-family:Arial,Helvetica,Verdana,sans-serif;font-size:12px">Xeon E5-2690 v3 compute nodes.</span></div><div><div><br></div><div>Thanks</div><div>Hooman</div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div><div><div><font size="1"><span style="color:rgb(153,153,153)"><b>Hooman Yaghoobnejad<br></b></span></font></div><font size="1"><span style="color:rgb(153,153,153)"><b>PhD, Department of Chemistry<br></b></span></font></div><font size="1"><span style="color:rgb(153,153,153)"><b>Missouri University of Science and Technology<br></b></span></font></div><font size="1"><span style="color:rgb(153,153,153)"><b>Rolla, MO 65409<br></b></span></font></div><font size="1"><span style="color:rgb(153,153,153)"><b>USA</b></span></font><br></div></div></div></div>
</div></div>