Skip to content
Snippets Groups Projects
Forked from Core Modules / dune-istl
Source project has a limited visibility.
  • Dominic Kempf's avatar
    9922ddaf
    Do not allow OpenMP to get more than one core. · 9922ddaf
    Dominic Kempf authored
    Suitesparse, as installed with Debian, is thread-parallel using OpenMP.
    OpenMP silently assumes, it can spawn as many threads as there are cores.
    In a worst case scenario, this leads to a number of threads quadratic in
    the core count, if you also do parallel test execution with the maximum
    number of cores. We solve the issue by disallowing OpenMP to allocate more
    than one thread.
    9922ddaf
    History
    Do not allow OpenMP to get more than one core.
    Dominic Kempf authored
    Suitesparse, as installed with Debian, is thread-parallel using OpenMP.
    OpenMP silently assumes, it can spawn as many threads as there are cores.
    In a worst case scenario, this leads to a number of threads quadratic in
    the core count, if you also do parallel test execution with the maximum
    number of cores. We solve the issue by disallowing OpenMP to allocate more
    than one thread.