-
Notifications
You must be signed in to change notification settings - Fork 53
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
Compilation error w/ open_mp backend #332
Comments
This 7547cb2 commit fixed the issue. |
At 44ed745 with gcc/7.2.0 linking of tests fails with the error:
I've tried adding a line like:
here but that didn't fix the issue. |
Hi, Seem to have a similar issue compiling with OpenMP support on OSX using llvm8 compilers (from macports, not stock compilers, so do include openmp support). If I add '-fopenmp' to 'CMAKE_CXX_FLAGS' all my linking errors go away. Not sure if this is related? |
Apologies for replying to an old issue. Since I ran into this trying to build with
Since target_link_options(omega_h PUBLIC -fopenmp) just below Line 191 in e889123
to pass the flag to the linker as well. |
Many errors of the form:
pop up with gcc/7.2.0 with the cmake command
Here is the output from a file with
make VERBOSE=1
. Presumably-fopenmp
was stripped out of the compile flags during one of the recent CMake changes?The text was updated successfully, but these errors were encountered: