On Tue, Apr 17, 2012 at 7:07 AM, TAY wee-beng <zonexo at gmail.com> wrote:
> Hi, > > 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? > No. Matt > Yours sincerely, > > TAY wee-beng > > > On 16/4/2012 6:26 PM, Jed Brown wrote: > > > > On Mon, Apr 16, 2012 at 11:25, Abraham Taicher <ataicher at > ices.utexas.edu>wrote: > >> Hi, >> >> 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, >> VecStrideGather<http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecStrideGather.html>, >> does not seem to apply. Should I simply use the MPI routine MPI_Gather? >> > > > http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecScatterCreateToZero.html > > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120417/426b96d6/attachment.htm>
