[petsc-users] Petsc Matrix Redistribution

Matthew Knepley knepley at gmail.com
Thu Dec 19 16:58:25 CST 2013


On Thu, Dec 19, 2013 at 4:44 PM, James A Charles <charlesj at purdue.edu>wrote:

> Hello,
>
> I want to redistribute a matrix across MPI processes (block tridiagonal of
> around size 20,000) for use with Arpack so that I can solve for eignepairs
> in parallel. Is this possible and if so what is the best way to do this?
>

The easiet way is probably
http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/MatGetSubMatrix.html,
but there is also
http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/MatPermute.html
.

    Matt


> Thanks,
> James Charles
>



-- 
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/20131219/cef1911d/attachment.html>


More information about the petsc-users mailing list