Skip to content
Snippets Groups Projects
  • Administrator's avatar
    bb84a71d
    Fix usage of OpenMP on macosx · bb84a71d
    Administrator authored and Florian Uhlig's avatar Florian Uhlig committed
    On macosx one needs a openmp installation which does not come with the system,
    at least the omp.h header file is missing. brew has a package libomp which
    installs the header and a library. Both are found by the cmake module
    FindOpenMP and properly used during the compilation and linking.
    In themoment there is still a runtime error when executing the L1 tracking
    with OpenMP support on macosx, so switch off OpenMP for the time being.
    The problem is investigated already. refs #2028.
    
    Cleanup OpenMP handling in the build system. Move check for OpenMP to top
    level. Remove OpenMP usage from all libs were it is not needed.
    bb84a71d
    History
    Fix usage of OpenMP on macosx
    Administrator authored and Florian Uhlig's avatar Florian Uhlig committed
    On macosx one needs a openmp installation which does not come with the system,
    at least the omp.h header file is missing. brew has a package libomp which
    installs the header and a library. Both are found by the cmake module
    FindOpenMP and properly used during the compilation and linking.
    In themoment there is still a runtime error when executing the L1 tracking
    with OpenMP support on macosx, so switch off OpenMP for the time being.
    The problem is investigated already. refs #2028.
    
    Cleanup OpenMP handling in the build system. Move check for OpenMP to top
    level. Remove OpenMP usage from all libs were it is not needed.