<div>Hi Sam,</div><div><br></div><div>Thank you very much! </div><div><br></div><div>I will run some tests and verify.</div><div><br></div><div>Thank you again.</div><div>Nícolas<br></div><div class="gmail_quote"><div dir="auto" class="gmail_attr">Em segunda-feira, 23 de maio de 2022 às 05:06:31 UTC-3, wave...@gmail.com escreveu:<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><p>Hi NÍcolas</p>
<p><br></p>
<p>It depends heavily on the problem (what you ask cp2k to calculate) and how you run cp2k. Take a look at the output file to understand the memory - unfortunately, cp2k doesn't tell you memory used directly, but rather total and available, so you have to subtract.</p>
<p><br></p>
<p>The hyper-threading might be doing something, but it can also slow down your calculation. I use:</p>
<p><br></p>
<p>mpirun -n 2 --bind-to numa --map-by numa -display-map cp2k.psmp -i my-cp2k-run.inp > my-cp2k-run.out</p>
<p><br></p>
<ol>
<li>The 'bind-to numa' and 'map-by numa' make use of the os's understanding of the processor.</li>
<li>These two together neatly puts the mpi ranks per cpu socket.</li>
<li>The '-display-map' writes the mpi assignments at the beginning of the output.</li>
</ol>
<p><br></p>
<p>Kind Regards</p>
<p><br></p>
<p>Sam</p><br><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Friday, May 20, 2022 at 4:17:27 PM UTC+2 Nícolas wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Hi everyone!</div><div><br></div><div>According to this documentation: <a href="https://brehm-research.de/files/spec_tutorial_2018.pdf" rel="nofollow" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=pt&q=https://brehm-research.de/files/spec_tutorial_2018.pdf&source=gmail&ust=1653397486927000&usg=AOvVaw1lbb-PupJn7vvsneIFtnpe">https://brehm-research.de/files/spec_tutorial_2018.pdf</a> I need to have 4 GiB of RAM per CPU core, but I can run CP2K with 128 process on a machine with 2 sockets of 32 cores per socket and 2 thread per core, totalizing 128 threads and 64 cores, although that machine has only 128GB of RAM.</div><div><br></div><div>Does anyone knows why can I do this?</div><div><br></div><div>P.S.: In another machine with 2 
 sockets of 64 cores per socket, 2 thread per core and 512GB of RAM, when I run CP2K with 128 proccess I got Out Of Memory(OOM).</div><div><br></div><div>Thank you.</div><div>Nícolas<br></div></blockquote></div></blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "cp2k" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k+unsubscribe@googlegroups.com">cp2k+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/1d86c9e6-c7df-4c07-a1a4-68c2ebc6d8a3n%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/1d86c9e6-c7df-4c07-a1a4-68c2ebc6d8a3n%40googlegroups.com</a>.<br />