Alexander Grayver <[email protected]> writes:

> Hello,
>
> I need to have a copy of a vector created on the communicator COMM to 
> another vector created on the communicator SUBCOMM (which is a subset of 
> the COMM processes).
> Are there any standard functions that can help here? I assume VecScatter 
> could help, but I am not sure how to use it here?

Where is the information to specify from where you need to get the data?
You can always create a dummy sequential vector and VecPlaceArray the
SUBCOMM-Vec's array as the destination of the scatter.  Any processes
not part of SUBCOMM should have an empty destination Vec.

Attachment: pgpAZwmiaZynM.pgp
Description: PGP signature

Reply via email to