about MatGetSubMatrices()

Dave May dave.mayhem23 at gmail.com
Mon Dec 22 13:00:21 CST 2008


No.
If you want to extract a parallel sub matrix, use MatGetSubMatrix().
http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/docs/manualpages/Mat/MatGetSubMatrix.html

Cheers,
  Dave


On Tue, Dec 23, 2008 at 4:47 AM, Yujie <recrusader at gmail.com> wrote:

> Hi, PETSc developer
>
> Now, when using MatGetSubMatrices(), the submatrices are saved in one cpu.
> Sometimes, the dimension of the submatrices are huge, it is impossible to
> save them in one cpu.
>
> I am wondering whether the submatrices can be saved in parallel mode when
> using MatGetSubMatrices(). thanks a lot.
>
> Regards,
>
> Yujie
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20081223/87038934/attachment.htm>


More information about the petsc-users mailing list