<div class="gmail_quote">On Tue, Apr 24, 2012 at 14:52, Jim Dinan <span dir="ltr">&lt;<a href="mailto:dinan@mcs.anl.gov">dinan@mcs.anl.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Another thing to point out is that the Accumulate behavior on complex data will do what you need for MPI_SUM, but it will give you the wrong result for MPI_PROD (product) since complex multiplication is not just multiplying real and imaginary parts separately.</blockquote>
</div><br><div>I know, MPI_Accumulate has the same problem. I don&#39;t care because I compute additive instead of geometric norms (and even if I did geometric norms, they would be computed using addition).</div>