-
Notifications
You must be signed in to change notification settings - Fork 28
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
Error when using make #24
Comments
Hello, @TirtaHema ! I had the same issue over here, and that's how I worked around it: When I first tried to compile, I was using CUDA 10.2, gcc 7.4 and cmake 3.10.2 (the default version on ubuntu's apt repository). The first thing I tried was passing the -DWITH_OMP=OFF flag to cmake to try and see if that would solve my problem. It did not, only went from a nvcc conflict with '-fopenmp' to a conflict with '-pthreads'. Looking more into ir I found this blog post https://peter.bloomfield.online/workaround-nvcc-pthread-issue/ which suggested changing the cmake version. I went to https://cmake.org/download/ and downloaded cmake version 3.16, compiled it and was finally able to install CCMpred using this cmake version. So, apparently, the issue is with cmake, not with the CCMpred software. I hope it helps. =] |
Great! I succeed with your help!!! Thank you very much! |
I had some problem when installing CCMpred when use make command
[ 30%] Built target conjugrad
[ 35%] Building CUDA object CMakeFiles/ccmpred.dir/src/evaluate_cuda_kernels.cu.o
nvcc fatal : Unknown option 'fopenmp'
CMakeFiles/ccmpred.dir/build.make:326: recipe for target 'CMakeFiles/ccmpred.dir/src/evaluate_cuda_kernels.cu.o' failed
make[2]: *** [CMakeFiles/ccmpred.dir/src/evaluate_cuda_kernels.cu.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/ccmpred.dir/all' failed
make[1]: *** [CMakeFiles/ccmpred.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: