[petsc-users] Edge-cut information for CHACO

Mark Adams mfadams at lbl.gov
Thu Dec 5 13:34:37 CST 2019

On Thu, Dec 5, 2019 at 11:20 AM Eda Oktay <eda.oktay at metu.edu.tr> wrote:

> Hello all,
> I am trying to find edge cut information of ParMETIS and CHACO. When I use
> MatPartitioningViewImbalance(part,partitioning)
> works and it gives also number of cuts.
> However, when I used CHACO, it only gives imbalance information, not edge
> cut. I have index sets but I couldn't find how to calculate edge cut.

I've never heard of edge-cuts wrt Chaco. I'm sure it does not collect that
information but you could look at the code.

> Also, does ParMETIS calculate edge cuts according to the values of weights
> or number of weights?

Good question, I would assume this is an integer, the number of edge cuts,
and not the sum of the weights. If it prints and integer then that would be
a hint.

> Thanks!
> Eda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20191205/ccfbef0e/attachment.html>

More information about the petsc-users mailing list