[petsc-users] Using edge-weights for partitioning

Barry Smith bsmith at petsc.dev
Sun Aug 30 18:06:03 CDT 2020


   I don't think they are super important.

  Barry


> On Aug 30, 2020, at 5:44 PM, Fande Kong <fdkong.jd at gmail.com> wrote:
> 
> I agreed, Barry.
> 
> A year ago, I enabled edge-weights and vertex weights for only ParMETIS and PTScotch. I did not do the same thing for Chaco, Party, etc.
> 
> It is straightforward to do that, and I could add an MR if needed.
> 
> Thanks,
> 
> Fande,
> 
> On Sun, Aug 30, 2020 at 4:20 PM Barry Smith <bsmith at petsc.dev <mailto:bsmith at petsc.dev>> wrote:
> 
> 
>> On Aug 30, 2020, at 7:33 AM, Mark Adams <mfadams at lbl.gov <mailto:mfadams at lbl.gov>> wrote:
>> 
>> 
>> 
>> 
>> So, if ParMETIS gives different edge cut as it is expected, MatPartitioningGetUseEdgeWeights and MatPartitioningSetUseEdgeWeights works correctly. Why can't CHACO?
>> 
>> 
>> Chaco does not support using edge weights.
> 
>   The package interfaces  that do not support edge weights should error if one requests partitioning with edge weights. Not everyone is born with the innate knowledge that the Chaco PETSc interface doesn't support edge weights.
> 
> 
>>  
> https://gitlab.com/petsc/petsc/-/merge_requests/3119 <https://gitlab.com/petsc/petsc/-/merge_requests/3119>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200830/90613355/attachment.html>


More information about the petsc-users mailing list