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
113 stars 23 forks source link

Tests are not running in Travis CI #16

Closed kittobi1992 closed 4 years ago

kittobi1992 commented 4 years ago

Problem Description: Travis sets up a VM with 2 cores on an Cloud Infrastructure. The Cloud Infrastructure Provider deploy that VM on a machine with a restricted cpuset. Our application does not consider that cpuset and tries to pin threads on cpus that are disabled.

Steps to reproduce: sudo cset shield -c 1-3 # Restricts cpuset to cpu 1 - 3

make concurrent_hypergraph_test Running main() from /home/heuer/mt-kahypar/external_tools/googletest/googletest/src/gtest_main.cc [==========] Running 25 tests from 1 test suite. [----------] Global test environment set-up. [----------] 25 tests from AConcurrentHypergraph [ERROR] Failed to set thread affinity

sudo cset shield --reset # reset cpuset restriction

kittobi1992 commented 4 years ago

Tests on Travis CI are working now