On Wed, May 18, 2011 at 3:54 PM, Bart?omiej W <bartlomiej.wach at 
yahoo.pl>wrote:

> Hello again,
>
> I am wondering if it is possibile to have a matrix be stored across several
> machines but have only one process to set its values? Can I just create the
> matrix and then simply setownership range for process 0 to full size of the
> matrix and zero for others?
>

You can create a parallel matrix, and then only set values from 1 process.
Its not efficient, but it will work.

   Matt


> Thank You for an answer.
>



-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110518/14e517f7/attachment.htm>

Reply via email to