<p dir="ltr">The reason why it is done in such a dumb way is, if I remember correctly (cannot verify now), that it is not easy to figure out which pool computes which rotated wavefunctions. There are utilities for pool operations (poolscatter etc), you may take inspiration from those. Paolo</p>
<div class="gmail_extra"><br><div class="gmail_quote">Il 18/ott/2016 10:48 AM, "Lorenzo Paulatto" <<a href="mailto:lorenzo.paulatto@impmc.upmc.fr">lorenzo.paulatto@impmc.upmc.fr</a>> ha scritto:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Nevermind,<br>
we have one now..<br>
<br>
By the way, I'm trying to do a broadcast from one pool to all the others; i.e.<br>
assuming the only a certain pool, not necessarily rthe first one, has the<br>
correct data and I want everyone to have a copy of it.<br>
<br>
I'm finding this annoyingly difficult, I'm a bit lost with which are the correct<br>
communicators to use. I would like to avoid doing a huge mp_sum, is there any<br>
place where it has been implemented already?<br>
<br>
This would also be used in the EXX code: at the moment each pool rotates the<br>
wavefcuntions for the points it has, then a massive all-to-all mp_sum is<br>
called to broadcast the data, this looks like a massive bottleneck to me<br>
(maybe it is not?), I'm only one step away from fixing it, but I need the<br>
above..<br>
<div class="elided-text"><br>
<br>
<br>
On Tuesday, October 18, 2016 10:16:36 AM CEST you wrote:<br>
> Hello,<br>
> do you know if we have already a function that does the inverse of<br>
> global_kpoint_index(ik,nkstot)<br>
><br>
> i.e. that gives you the pool-local number of the k-point, give the global<br>
> number?<br>
><br>
> cheers<br>
<br>
<br>
--<br>
Dr. Lorenzo Paulatto<br>
IdR @ IMPMC -- CNRS & Université Paris 6<br>
phone: <a href="tel:%2B33%20%280%291%2044275%20084" value="+33144275084">+33 (0)1 44275 084</a> / skype: paulatz<br>
www: <a href="http://www-int.impmc.upmc.fr/~paulatto/" rel="noreferrer" target="_blank">http://www-int.impmc.upmc.fr/~<wbr>paulatto/</a><br>
mail: 23-24/4é16 Boîte courrier 115, 4 place Jussieu 75252 Paris Cédex 05<br>
<br>
______________________________<wbr>_________________<br>
Q-e-developers mailing list<br>
<a href="mailto:Q-e-developers@qe-forge.org">Q-e-developers@qe-forge.org</a><br>
<a href="http://qe-forge.org/mailman/listinfo/q-e-developers" rel="noreferrer" target="_blank">http://qe-forge.org/mailman/<wbr>listinfo/q-e-developers</a><br>
</div></blockquote></div><br></div>