You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for reaching out.
KaHyPar uses a bunch of Singletons throughout the codebase. The Timer class is just one of them. All the Factories and the Randomize class are singletons as well. Hence, it is probably best not to use the interface in a multi-threaded way.
Hi!
I get pretty quickly a segmentation fault, when calling kahypar_partition from multiple threads.
I've pasted a "small" reproducer here: https://gist.github.com/picsel2/d9691b32e93eba5a8481b706860f0ffe
This workaround fixes the failure (at least for me).
Additional info
ThreadSanitizer reports the following:
The text was updated successfully, but these errors were encountered: