[petsc-users] Vecscatter question
Jed Brown
jedbrown at mcs.anl.gov
Mon Aug 29 20:36:41 CDT 2011
On Mon, Aug 29, 2011 at 20:32, Tabrez Ali <stali at geology.wisc.edu> wrote:
> If during Vecscatter (say from a global vector x to a local vector y) if
> 'is' and 'iy' are such that almost all values being scattered happen to be
> on the local proc then almost 0 or very little MPI calls would be made
> internally. Is this correct?
>
Very few values would be sent anywhere. The number of MPI calls depends on
the number of processes that need to receive values and the scatter method
(methods descriptions:
http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-dev/docs/manualpages/Vec/VecScatterCreate.html
).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110829/54f8a5cf/attachment.htm>
More information about the petsc-users
mailing list