inducer / pymetis

A Python wrapper around Metis, a graph partitioning package
http://mathema.tician.de/software/pymetis
Other
156 stars 32 forks source link

Expose METIS contiguous partition flag through wrapper #20

Closed nhartland closed 3 years ago

nhartland commented 3 years ago

Hi there,

First of all, many thanks for maintaining this repo!

I've come across an application with rather large graphs where I needed to set the METIS_OPTION_CONTIG flag that forces contiguous partitions. In this PR I've exposed the flag through an additional argument to pymetis.part_graph.

inducer commented 3 years ago

Thanks!