<div dir="ltr">Thanks a lot for the advice, it worked nice =)... <br><br>I appreciate your help, <br><br>Manuel<br><br><div class="gmail_quote">On Tue, Jun 21, 2011 at 7:59 PM, Jed Brown <span dir="ltr"><<a href="mailto:jed@59a2.org">jed@59a2.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im"><div class="gmail_quote">On Tue, Jun 21, 2011 at 18:56, Aron Ahmadia <span dir="ltr"><<a href="mailto:aron.ahmadia@kaust.edu.sa" target="_blank">aron.ahmadia@kaust.edu.sa</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
PETSc could also just provide a VecReduce and VecReduceStride operation, which might simplify the programming effort a bit.</blockquote></div><br></div><div>That would be neat, especially if it used MPI_Op for the reduction. You would need MPI-2.2 to have MPI_Reduce_local() for user-defined operations, but it would be more flexible and less code than the current approach.</div>

</blockquote></div><br></div>