[petsc-users] PETSc Gather

Jed Brown jedbrown at mcs.anl.gov
Mon Apr 16 11:26:58 CDT 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120416/cfaa328e/attachment.htm>


More information about the petsc-users mailing list