-
Notifications
You must be signed in to change notification settings - Fork 8k
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
nvcc fatal : Unknown option 'fopenmp' using CMAKE #3314
Comments
Hi @adujardin |
Hi @cenit Do you know if there's a way to check if a library have been compiled with OpenMP? I would like to check if removing these makes a difference on the final lib/exe. Lines 306 to 307 in 5b8929b
Edit: removed other unrelated issues for clarity, see below |
Just in case I also tried with the docker image provided by nvidia matching my configuration to have a clean setup. I don't have the issues mentioned above, except the |
A proper fix is contained in #3371 |
Hi,
Using the vanilla CMakeLists to compile I have the following issue on Ubuntu 18 (default cmake 3.10.2, g++ 7.4), CUDA 10 :
nvcc fatal : Unknown option 'fopenmp'
I tried several fixes, including replacing
--compiler-options
by-Xcompiler
as a common fix for this issue with no luck, here:darknet/CMakeLists.txt
Line 171 in 5b8929b
One solution found was to comment these lines:
darknet/CMakeLists.txt
Lines 306 to 307 in 5b8929b
@cenit Do you have an idea why nvcc complains about that?
Are these 2 lines necessary?
The text was updated successfully, but these errors were encountered: