-
Notifications
You must be signed in to change notification settings - Fork 200
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
Non-CUDA build failure #12
Comments
This was referenced Oct 21, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Originally reported by: Jon Diprose (Bitbucket: well-jon, GitHub: Unknown)
I think this is similar to issue #3 except for a non-CUDA build. Firstly, src/ml_model.cpp won't build without CUDA - see the attached rescomp-make.log and relion-2.0b-ml_model-no-cuda.patch that makes the problem go away by hiding the cuda_skunks.cuh-requiring code in #ifdef CUDA blocks.
However, it then fails to link because it fails to find -lrelion_gpu_util - see the attached rescomp-make-2.log. Suggested fix is relion-2.0b-CMakeLists-no-cuda.patch, which checks CUDA_FOUND to see if relion_gpu_util should be on the list of target_link_libraries.
After that it needs re-cmake-ing, so a complete rebuild - see rescomp-configure-3.log and rescomp-make-3.log - and builds for me! Hurrah.
The text was updated successfully, but these errors were encountered: