<div dir="ltr">Hi Iain,<div><br></div><div>thank you very much for that detailed answer! Since I also have some old traces that I am wondering about: Did the load balancing in 2.x releases work like it does in 3.0?</div><div><br></div><div>Martin</div><div><br>On Friday, February 5, 2016 at 11:05:55 AM UTC+1, IBethune wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hi Martin,
<br>
<br>The load balancing algorithm in the released versions of the code (3.0 or earlier) can be quite memory-hungry so is turned off when running on >1024 MPI processes. You can also override this by setting FORCE_EVAL%DFT%MGRID%SKIP_<wbr>LOAD_BALANCE_DISTRIBUTED [TRUE|FALSE]. The fact that you see these routines in the timing report indicates that the load balancer is running. If you turn it off you will find marginally worse performance. For the H2O-xxx benchmarks, the atoms are essentially distributed at uniform density throughout the cell, so the problem is fairly well load balanced to start with. If you were running something like an isolated cluster or a slab/interface you would likely see more effect from using the load balancer (or not).
<br>
<br>Also, bear in mind that you will not get 100% load balance even when the load balancer is turned on as it works within certain constraints depending on the number of processors, the resulting decomposition of the realspace grids, and the system geometry. Also, the main bits of work which are balanced by this algorithm are the collocation and integration of gaussian products (calculate_rho_elec and integrate_v_rspace in the timing report). Other parts of the code e.g. dbcsr are not affected by the load_balance_distributed scheme.
<br>
<br>In CP2K 4.0 (development trunk), the load balancer is improved so it is less memory intensive and is turned on by default regardless of the number of MPI processes
<br>
<br>Cheers
<br>
<br>- Iain
<br>
<br>--
<br>
<br>Iain Bethune
<br>Project Manager, EPCC
<br>
<br>Email: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="Qi_5pERcFwAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">ibe...@epcc.ed.ac.uk</a>
<br>Twitter: @IainBethune @PrimeGrid @CP2Kproject
<br>Web: <a href="http://www2.epcc.ed.ac.uk/~ibethuneTel/Fax" target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fwww2.epcc.ed.ac.uk%2F~ibethuneTel%2FFax\46sa\75D\46sntz\0751\46usg\75AFQjCNFFX2aa_LeyI8qZrXJ4SWGN4STQIA';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fwww2.epcc.ed.ac.uk%2F~ibethuneTel%2FFax\46sa\75D\46sntz\0751\46usg\75AFQjCNFFX2aa_LeyI8qZrXJ4SWGN4STQIA';return true;">http://www2.epcc.ed.ac.uk/~<wbr>ibethune
<br>Tel/Fax</a>: +44 (0)131 650 5201/6555
<br>Mob: +44 (0)7598317015
<br>Addr: 2404 JCMB, The King's Buildings, Peter Guthrie Tait Road, Edinburgh, EH9 3FD
<br>
<br>> On 5 Feb 2016, at 09:57, Martin Küttler <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="Qi_5pERcFwAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">marti...@gmail.com</a>> wrote:
<br>>
<br>> Hi,
<br>>
<br>> I'm using the H2O input files from cp2k/tests/QS/benchmark. In the output I see some times for subroutines that look like they do load balancing (e.g. load_balance_distributed, optimize_load_list, get_current_loads,...), but I don't see an effect of load balancing. Is there a load balancer that works for these inputs? If so, when does it kick in, and can it be turned on/off?
<br>>
<br>> Thanks,
<br>> Martin
<br>>
<br>> --
<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="javascript:" target="_blank" gdf-obfuscated-mailto="Qi_5pERcFwAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp2k+uns...@googlegroups.<wbr>com</a>.
<br>> To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="Qi_5pERcFwAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.com</a>.
<br>> Visit this group at <a href="https://groups.google.com/group/cp2k" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/group/cp2k';return true;" onclick="this.href='https://groups.google.com/group/cp2k';return true;">https://groups.google.com/<wbr>group/cp2k</a>.
<br>> For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/<wbr>optout</a>.
<br>
<br>
<br>--
<br>The University of Edinburgh is a charitable body, registered in
<br>Scotland, with registration number SC005336.
<br>
<br></blockquote></div></div>