<div dir="ltr"><div dir="ltr">Hi, Thanh-Nam Huynh and Pietro.</div><div dir="ltr"><br></div><div dir="ltr">I agree with what Pietro wrote.</div><div dir="ltr">But, please correct me if I'm wrong, I think that in a workstation like yours you should set  OMP_NUM_THREADS=1, and run QE programs (compiled in parallel) as, for example,</div><div>mpirun -np 40 pw.x -inp <a href="http://pw.in">pw.in</a> > pw.out<br></div><div><br></div><div><br></div><div>Best wishes,</div><div dir="ltr"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"></blockquote><i style="text-align:center;color:rgb(0,0,0);font-family:monospace"><div style="text-align:left"><i><font size="1">       Marcelo Albuquerque</font></i></div></i><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"></blockquote><i style="text-align:center;color:rgb(0,0,0);font-family:monospace"><div style="text-align:left"><i><font size="1">          Ph.D. Student</font></i></div></i><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"></blockquote><i style="text-align:center;color:rgb(0,0,0);font-family:monospace"><div style="text-align:left"><i><font size="1">       Physics Institute</font></i></div></i><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"></blockquote><i style="color:rgb(0,0,0);font-family:monospace;font-size:x-small;text-align:center"><div style="text-align:left"><i>Universidade Federal Fluminense (UFF)</i></div></i><div><div><div style="text-align:left"><font face="monospace" color="#000000" size="1"><i style="background-color:rgb(255,255,255)">       Niterói/RJ - Brazil</i></font></div></div></div><div><div dir="ltr"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"></blockquote></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 21, 2020 at 7:01 AM <<a href="mailto:users-request@lists.quantum-espresso.org">users-request@lists.quantum-espresso.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi<br>
<br>
no it shouldn't take that long.<br>
<br>
According to the output you should be?? running on 5120 processors, !!!!<br>
<br>
that would indeed be a terrific workstation :-).<br>
<br>
the openmp version of the code is a little bit tricky, if the number of <br>
available threads is not specified it tries to as many as it finds, in <br>
your case 128. Most of the time is spent in switching between threads.<br>
<br>
You should specify the number of actually available threads in the <br>
OMP_NUM_THREADS envinronment variable.<br>
<br>
just type the command<br>
<br>
export OMP_NUM_THREADS=<num of available threads><br>
<br>
as for the number of avaiable threads it should be something so as to 40 <br>
time the number of thread is less than 128.<br>
<br>
Also be aware that the executable has a very intensive use of the cpu so <br>
check whether 128 is the actual number of physical cores or it is <br>
multiplied because of hyperthreading, in that case instead of 128 use <br>
the actual number of physical cores.<br>
<br>
best wishes<br>
<br>
Pietro<br>
<br>
<br>
On 20/10/20 13:13, Thanh-Nam Huynh wrote:<br>
> Dear colleagues,<br>
><br>
> I ran a pp.x job in a workstation using 40 processors to get the <br>
> potential of a surface slab a month ago. Despite that all the <br>
> processors are running at 100%, the output file stops at these lines, <br>
> and nothing has changed during this month.<br>
><br>
> Writing data to file? LaO_9layer_15vac.pot<br>
><br>
> Reading data from file? LaO_9layer_15vac.pot<br>
><br>
><br>
> Since I am a newbie with QE, I do not know whether pp.x requires such <br>
> a long time or there is some problem with my input file. Therefore, I <br>
> attach here the input and output files of my computation. Can you have <br>
> a look and give me some advice?<br>
><br>
> I really appreciate your help.<br>
> -- <br>
> *Huynh Thanh-Nam*<br>
> Department of Materials Science and Engineering, Chungnam National <br>
> University<br>
> Yuseong-gu, Daejeon 34134, Korea<br>
> Tel: (+82) 010 5719 1521<br>
><br>
> _______________________________________________<br>
> Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" rel="noreferrer" target="_blank">www.max-centre.eu</a>)<br>
> users mailing list <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>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.quantum-espresso.org/pipermail/users/attachments/20201020/ebb72f27/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.quantum-espresso.org/pipermail/users/attachments/20201020/ebb72f27/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br><br>
</blockquote></div></div>