[petsc-users] partition an MPIAIJ matrix
recrusader
recrusader at gmail.com
Mon Feb 20 20:22:26 CST 2012
What types of AIJ matrices can directly use partitioning implementation?
The matrix I am using doesn't work?
I have to use ParMETIS since it can provide fill-reducing matrix ordering.
>From my understanding, MatConvert can only reorder the matrix and doesn't
provide the reordering information.
Thanks,
Yujie
On Mon, Feb 20, 2012 at 8:13 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
> On Mon, Feb 20, 2012 at 20:09, recrusader <recrusader at gmail.com> wrote:
>
>> I am taking a look at ex15 (
>> http://www.mcs.anl.gov/petsc/petsc-current/src/mat/examples/tutorials/ex15.c.html
>> ).
>> I am very confused with this. In Section 3.5 Partitioning of the manual,
>> one special Mat, that is 'adj', need to be established.
>> However, in ex15, the common matrix is created. Does the matrix
>> automatically contain the connection information?
>>
>
> Most (perhaps all?) of the partitioning implementations work with normal
> AIJ matrices. Internally, they usually have to convert to the MPIAdj
> because that is the interface to ParMETIS and others. Your code doesn't
> have to think about it.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120220/d810966c/attachment.htm>
More information about the petsc-users
mailing list