On Tue, Apr 17, 2012 at 7:07 AM, TAY wee-beng <span dir="ltr"><<a href="mailto:zonexo@gmail.com">zonexo@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I'm not sure if this is a naive question, but is there any speed or
performance difference when using VecScatterCreateToZero or similar
routine, compared to MPI standard routines such as mpi_gather,
mpi_gatherv etc?</div></blockquote><div><br></div><div>No.</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
Yours sincerely,<pre cols="72">TAY wee-beng</pre>
<br>
On 16/4/2012 6:26 PM, Jed Brown wrote:
<blockquote type="cite"><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" target="_blank">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">
<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" target="_blank">http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecScatterCreateToZero.html</a></div>
<div><br>
</div>
</div>
</blockquote>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener<br>