-
Notifications
You must be signed in to change notification settings - Fork 196
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
Improve method finding CUDA libraries #1161
Comments
Thank you very much for your contribution. Indeed this has been on our TODO list (#1016) for a long time but we were unable to do anything concrete, so your patch is very useful. I have several questions:
|
To answer your questions:
|
Describe your problem
Whilst installing Relion it seems the cmake configuration still uses the deprecated CUDA package to find dependencies. Unfortunately when using the HPC SDK from Nvidia the cmake CUDA package cannot find the dependencies due to the change in file structure. I have hit this issue elsewhere such as in Gromacs and requires moving from
find_package(CUDA)
tofind_package(CUDAToolkit)
which was introduced in cmake 3.17 (but actually needs cmake 3.26 to work properly with HPC SDK).Having spent some time making changes I think the following branch may be beginnings of a solution which could be tidied up but would like to have some comment on approach and also whether upgrading cmake required version is suitable?
https://github.com/green-br/relion/tree/cudatoolkit_update
Environment:
Dataset:
Not a runtime issue.
Job options:
Not a runtime issue.
Error message:
No real error message except for not finding the CUDA libraries. e.g.
The text was updated successfully, but these errors were encountered: