[petsc-users] Question about MatGetSubMatrices

Matthew Knepley knepley at gmail.com
Sun Mar 20 10:15:25 CDT 2011


On Sun, Mar 20, 2011 at 10:03 AM, Joshua Booth <jdbst21 at gmail.com> wrote:

> Hi reading about MatGetsubMatrices, that it must be called on all
> processors the same number of times.
> Does this mean all processors in PETSC_COMM_WORLD or on all processors that
> contain the Parent Matrix.
>

All processes in the Mat communicator.


> For example.  If I am using four processors, but only rank=0 has a seq
> matrix A and it wants a seq subA on rank=0, do the other three processors
> need to make a call?
>

No.

   Matt


> Thanks
>
> Josh
>



-- 
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/20110320/f8f3167d/attachment.htm>


More information about the petsc-users mailing list