On Sat, Dec 10, 2016 at 4:52 PM, Guido Giuntoli <[email protected]>
wrote:

> Hi,
>
> I am solving a problem that needs that process 0 (for example) modifies a
> small vector (let say 1000 components). Then all the process should be able
> to get all the component of this vector. Which is the best way to do it ?
>

http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecScatterCreateToZero.html

  Thanks,

     Matt


> I don't want a distributed vector because only one process will be the
> responsible of computing the components !
>
> Thanks, Guido.
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

Reply via email to