<div dir="ltr"><div>S is not distributed: CALL calbec( npw, evcold, evc, S ) computes <br> S(ibnd,jbnd) = \sum_{i=1}^npw evcold^*(i,ibnd) evc(i,jbnd)<br><br></div>Paolo<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 31, 2016 at 9:54 PM, Ilya Ryabinkin <span dir="ltr"><<a href="mailto:igryabinkin@gmail.com" target="_blank">igryabinkin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> If the matrix S is not distributed (and if you have a copy of it on each<br>
> processor), MATMUL (evc, S) will be distributed exactly in the same way as<br>
> evc<br>
<br>
How do I know if it is distributed? I got it through<br>
<br>
CALL calbec( npw, evcold, evc, S )<br>
<br>
--<br>
I.<br>
<br>
><br>
> Paol<br>
><br>
> On Wed, Aug 31, 2016 at 9:16 PM, Ilya Ryabinkin <<a href="mailto:igryabinkin@gmail.com">igryabinkin@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Colleagues:<br>
>> I'm wondering what should I use to get the matrix product evc*S, where<br>
>> evc = evc(npw, nbnd)<br>
>> is a collection of MOs and<br>
>> S = S(nbnd, nbnd)<br>
>> if my code is executed on several MPI nodes?<br>
>><br>
>> I see that for for nproc >1<br>
>><br>
>> npw is actually npw/nproc, which brings a question what is happening<br>
>> in the MATMUL(evc, S)<br>
>><br>
>><br>
>> Ilya<br>
>><br>
>> --<br>
>> ******************************<wbr>*************************<br>
>> Ilya Ryabinkin<br>
>> Postdoctoral Scholar<br>
>> Physical and Environmental Sciences<br>
>> University of Toronto Scarborough<br>
>> <a href="http://www.utsc.utoronto.ca/~aizmaylov/Members.html" rel="noreferrer" target="_blank">http://www.utsc.utoronto.ca/~<wbr>aizmaylov/Members.html</a><br>
>> ******************************<wbr>*************************<br>
>> ______________________________<wbr>_________________<br>
>> Pw_forum mailing list<br>
>> <a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
>> <a href="http://pwscf.org/mailman/listinfo/pw_forum" rel="noreferrer" target="_blank">http://pwscf.org/mailman/<wbr>listinfo/pw_forum</a><br>
><br>
><br>
><br>
<span class="HOEnZb"><font color="#888888">><br>
> --<br>
> Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br>
> Univ. Udine, via delle Scienze 208, 33100 Udine, Italy<br>
> Phone <a href="tel:%2B39-0432-558216" value="+390432558216">+39-0432-558216</a>, fax <a href="tel:%2B39-0432-558222" value="+390432558222">+39-0432-558222</a><br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> Pw_forum mailing list<br>
> <a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
> <a href="http://pwscf.org/mailman/listinfo/pw_forum" rel="noreferrer" target="_blank">http://pwscf.org/mailman/<wbr>listinfo/pw_forum</a><br>
<br>
<br>
<br>
--<br>
******************************<wbr>*************************<br>
Ilya Ryabinkin<br>
Postdoctoral Scholar<br>
Physical and Environmental Sciences<br>
University of Toronto Scarborough<br>
<a href="http://www.utsc.utoronto.ca/~aizmaylov/Members.html" rel="noreferrer" target="_blank">http://www.utsc.utoronto.ca/~<wbr>aizmaylov/Members.html</a><br>
******************************<wbr>*************************<br>
______________________________<wbr>_________________<br>
Pw_forum mailing list<br>
<a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
<a href="http://pwscf.org/mailman/listinfo/pw_forum" rel="noreferrer" target="_blank">http://pwscf.org/mailman/<wbr>listinfo/pw_forum</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br>Univ. Udine, via delle Scienze 208, 33100 Udine, Italy<br>Phone +39-0432-558216, fax +39-0432-558222<br><br></div></div></div></div></div>
</div>