All processes except the 0th one create a sequential vector of size 0. All 
processes except 0 create two ISes of size 0. Process zero creates two ISes 
with the from  locations (local in the sequential vector) and the to locations 
(global in the global vector) then all processes call VecScatterCreate() in the 
usual manner

   Barry

On Oct 9, 2014, at 4:52 PM, Harshad Sahasrabudhe <[email protected]> wrote:

> Hi,
> 
> I need to scatter (distribute) a sequential vector on process 0 to all the 
> processes according to a know set of global indices for each process. How can 
> this be done using VecScatter?
> 
> Thanks,
> Harshad

Reply via email to