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
126 stars 26 forks source link

MacOS Build #174

Closed kittobi1992 closed 11 months ago

kittobi1992 commented 11 months ago

This PR adds a MacOS build. It comes with a few restrictions. sched_getcpu is not available. We therefore use tbb::this_task_arena::current_thread_index() as cpu ID. Moreover, thread pinning is disabled. Submodule growt does also not compile on MacOS. We therefore switch to tbb::concurrent_unordered_map to cache minimal Steiner trees (same as for Windows).