<div dir="ltr"><div dir="ltr">Thank you for the report, You are right, a broadcast of Ef is missing. It should be done inside the "image" communicator (or maybe the "intra_pool" one) and not the "world" communicator, but it makes no difference in this case.</div><div class="gmail_quote"><span lang="EN-US"> </span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" lang="ZH-CN"><div>
<p class="MsoNormal"><span lang="EN-US">If this issue and bug fix are confirmed, shall I submit request to commit
 this change to the QE master branch?</span></p></div></div></blockquote><div><br></div><div>not needed, thank you, I already applied the fix (<a href="https://gitlab.com/QEF/q-e/-/merge_requests/1711">https://gitlab.com/QEF/q-e/-/merge_requests/1711</a>)</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" lang="ZH-CN"><div>
<p class="MsoNormal"><span lang="EN-US"> </span><span lang="EN-US">Another concern is in file <span style="color:black;background:rgb(217,217,217) none repeat scroll 0% 0%">
plot_xanes_cross_sections.f90</span>. When gathering the results from different pool, subroutine
<span style="color:black;background:rgb(217,217,217) none repeat scroll 0% 0%">mp_sum (Intensity_coord, inter_pool_comm)</span> is called. I am wondering if we need a
<span style="color:black;background:rgb(217,217,217) none repeat scroll 0% 0%">mp_barrier</span> before this call to synchronize all the pools to perform the mp_sum?</span></p></div></div></blockquote><div><br></div><div>there is actually a (well hidden) call to mp_barrier inside mp_sum <br></div><div><br></div><div>Paolo<br clear="all"></div></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br>Univ. Udine, via delle Scienze 206, 33100 Udine, Italy<br>Phone +39-0432-558216, fax +39-0432-558222<br><br></div></div></div></div></div></div>