<div dir="ltr"><div>The postprocessing code was written having in mind the case in which one is interested to a single wavefunction or a small group of wavefunctions. If you use it for all wavefunctions, it will take a lot of time, since it calls 'addusdens' many times instead of one. The only solution is to modify the postprocessing code according to your needs.<br><br></div>Paolo<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 11, 2017 at 4:04 PM, Junfeng Qiao <span dir="ltr"><<a href="mailto:qiao0junfeng@gmail.com" target="_blank">qiao0junfeng@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear QE users,<br>
<br>
I am currently trying to extract wavefunction |psi|^2 of some bands and<br>
kpoints, which can be achieved with plot_num = 7 of pp.x.<br>
<br>
However, if I extract large amount of wavefunctions, for example, assigning<br>
kpoint(1) = 1, kpoint(2) = 20*20, kband(1) = 1, kband(2) = 300,<br>
the pp.x will run for an unbearable long time.<br>
<br>
On my cluster (10 intel cpus, total 60 cores), each wavefunction will take<br>
about 8 seconds, and do a simple prediction, in total 8 * (20*20) * 300 / 3600<br>
/ 24 = 11 days ! It is much more longer than the scf calculations.<br>
<br>
After playing with the code(QE v6.1), I found in local_dos.f90 line 392, the<br>
call to addusdens() takes up almost all the computation time, other parts are<br>
negligible.<br>
<br>
While, in this situation, I totally have no ideas how to get out of this<br>
trouble, so I am seeking for help in this community: is it possible to speed<br>
up this addusdens() part?<br>
<br>
Thanks for your time of reading this email, any suggestions will be truly<br>
appreciated.<br>
<br>
Sincerely,<br>
Junfeng Qiao<br>
Beihang University (BUAA)<br>
Beijing, China<br>
______________________________<wbr>_________________<br>
Pw_forum mailing list<br>
<a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
<a href="http://pwscf.org/mailman/listinfo/pw_forum" rel="noreferrer" target="_blank">http://pwscf.org/mailman/<wbr>listinfo/pw_forum</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br>Univ. Udine, via delle Scienze 208, 33100 Udine, Italy<br>Phone +39-0432-558216, fax +39-0432-558222<br><br></div></div></div></div></div>
</div>