[petsc-users] -mat_partitioning_view

Mohammad Mirzadeh mirzadeh at gmail.com
Mon Feb 13 18:27:43 CST 2012


Thanks Jed. Then I should be doing something wrong. I'm trying a simple
graph and counting the number of edge cuts manually but the numbers don't
match. I'll keep looking into it.

Mohammad

On Mon, Feb 13, 2012 at 4:22 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

> On Mon, Feb 13, 2012 at 18:17, Mohammad Mirzadeh <mirzadeh at gmail.com>wrote:
>
>> When using -mat_partitioning_view flag, PETSc reports number of edge
>> cuts. Is this the number of edge cuts in the graph for the new partitioning
>> (i.e. using new global numbering)?
>>
>
>  yes
>
>
>>
>> Also, does the partitioning favors minimizing the edge cuts over having
>> equal number of points per processor? If so, how can this be altered?
>>
>
> Metis and ParMetis balance the partitions "equally" (within 1 vertex),
> then tries to minimize the edge cut. Assuming that is the partitioner you
> are using, that is what you will get.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120213/f4554543/attachment.htm>


More information about the petsc-users mailing list