If you wish all the entries on one or all processes then see

http://www.mcs.anl.gov/petsc/documentation/faq.html#mpi-vec-to-seq-vec or 
http://www.mcs.anl.gov/petsc/documentation/faq.html#mpi-vec-to-mpi-vec  

if you want a subset of entries from other processes on each process then you 
need to see the manual page for VecScatterCreate().

  Barry



> On May 12, 2016, at 12:32 AM, [email protected] wrote:
> 
> Dear professor:
>      i need to access the vector values which are not locted in local cpu. 
> how to obtain them.
> Regards

Reply via email to