Fix usage of OpenMP on macosx
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.
Merge request reports
Activity
added 2 commits
Dear @f.uhlig, @v.friese, @p.-a.loizeau, @s.gorbunov, @v.akishina,
you have been identified as code owner of at least one file which was changed with this merge request.
Please check the changes and approve them or request changes.
added CodeOwners label
assigned to @se.gorbunov
added 27 commits
-
4d70967b...c3a119ac - 26 commits from branch
computing:master
- 5639f5ca - Fix usage of OpenMP on macosx
-
4d70967b...c3a119ac - 26 commits from branch
since you and @v.friese approved the MR could you please merge it. Currently OpenMP is not enabled for macosx but the MR would allow me to compile on my Mac again without patching CbmRoot all the time.
@f.uhlig we can not merge, you need to rebase first
I have to merge some more MRs before. If you don't mind I would merge the MR myself when the other MRs are merged.
@f.uhlig sure!
assigned to @f.uhlig and unassigned @se.gorbunov
added 2 commits