<br><br><div class="gmail_quote">On Mon, Apr 16, 2012 at 11:25, Abraham Taicher <span dir="ltr"><<a href="mailto:ataicher@ices.utexas.edu">ataicher@ices.utexas.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>
<div bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
I have a parallel vector spread across all processors that I would
like to gather into a single processor, say the root processor. Is
there PETSc functionality to do this? I tried looking for a PETSc
gather function but the one I found, <a href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecStrideGather.html" target="_blank">VecStrideGather</a>,
does not seem to apply. Should I simply use the MPI routine
MPI_Gather?<br></div></blockquote><div><br></div><div><a href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecScatterCreateToZero.html">http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecScatterCreateToZero.html</a></div>
<div><br></div></div>