Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAC OS X / CLANG-OpenMP #41

Closed
b-scholz opened this issue Apr 1, 2016 · 3 comments
Closed

MAC OS X / CLANG-OpenMP #41

b-scholz opened this issue Apr 1, 2016 · 3 comments
Labels
bug - identified Bugs with an identified cause

Comments

@b-scholz
Copy link
Member

b-scholz commented Apr 1, 2016

CLANG++/OpenMP on MAC OS X does not work. It seems that the parallelisation macros in ParalleUtils.h do not work properly for Clang++/OpenMP (NB: for G++/OpenMP on MAC OS X seems to work without issues).

@b-scholz b-scholz added the bug - identified Bugs with an identified cause label Apr 1, 2016
@HerbertJordan
Copy link
Collaborator

What version of clang are you using? OpenMP is only supported by clang since 3.8.

@b-scholz
Copy link
Member Author

b-scholz commented Apr 3, 2016

I get following output:

clang version 3.5.0 
Target: x86_64-apple-darwin15.3.0
Thread model: posix

typing clang-omp++ -v. I installed clang-omp by brew install clang-omp.

You are right - it might be a good point to double-check whether a new version of clang has no issues.

@souffle-lang
Copy link
Collaborator

brew deploys an initial version of the openmp project (around version 3.5) which seems to be buggy and make the Souffle's test-cases fail.

I rebuilt the latest version of clang++ 3.9 with the openmp project. The test-cases are passing.

I believe we need to wait until brew is upgrading clang-omp to a newer version or adding the omp project to the llvm brew package.

@b-scholz b-scholz closed this as completed Apr 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug - identified Bugs with an identified cause
Projects
None yet
Development

No branches or pull requests

2 participants