kahypar / mt-kahypar

Mt-KaHyPar (Multi-Threaded Karlsruhe Hypergraph Partitioner) is a shared-memory multilevel graph and hypergraph partitioner equipped with parallel implementations of techniques used in the best sequential partitioning algorithms. Mt-KaHyPar can partition extremely large hypergraphs very fast and with high quality.
MIT License
118 stars 23 forks source link

pip installable Python module? #184

Open trvto opened 2 weeks ago

trvto commented 2 weeks ago

Hi Guys,

Thank you guys for developing mt-kahypar, it has been very helpful for me. I was wondering if you were planning on making the python bindings pip-installable? I would like to use mt-kahypar in our python library (https://github.com/CQCL/pytket-aqt) and it would make that of course quite a bit more convenient.

Thanks again, Travis

N-Maas commented 2 weeks ago

Hi Travis,

nice to hear that you find Mt-KaHyPar useful! We are definitively interested in providing a pip package. As usual, one problem is to find enough time to do it. However, I actually already planned to look into this in the medium-term future.

From the technical side, a difficulty is that Mt-KaHyPar is based on the TBB library, which is supposed to always be linked dynamically. Thus it probably can not be packaged as part of the binary, instead we need to ensure that it is installed in such a way that the dynamic linking works.

Best regards, Nikolai