-
Notifications
You must be signed in to change notification settings - Fork 201
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
Could not find CUDA (found 11.7) #966
Comments
Do you have |
Yes, it's in the path |
Aren't you building it within an activated conda environment? |
I'm not using conda. The only thing different than normal is that I'm having to source intel's setvars file if I want to use the compilers (without explicit paths). I think it may be overwriting my PATH and LD_LIBRARY_PATH |
That should not be a problem; I also source |
Alright, new error:
Definitely something to do with the libraries. To get this far, I added EDIT: We use the offline run file to install cuda if that makes any difference |
If I append |
To confirm CUDA installation, can you build it with GCC? |
Yes, it finds the CUDA libraries just fine and builds with standard gcc |
Same issue with Cuda 12.1. Here is what cmake -LAH says for everything cuda related:
This is the output of: |
Hi, what is your CMake version? If you're using CMake >= 3.10, then I just solved a similar issue with CUDA 11.2 installed in a non-default directory structure. I'm not sure if you got the same warning:
If you did, then that would be potential issue #1: What I did after some research (and experimentation) is edit CMakeLists.txt, add the following call BEFORE line 142, so it would look as follows:
If your CUDA installation has the P.S. You probably won't have the next problems, but I'll include them just in case someone else with these symptoms reads this. If you can't find the If you're using CUDA 11 on an up-to-date system, there is a good chance your default gcc/g++ compilers are too new as well (for CUDA 11, they must be version =< 10). Happy compiling and thanks to the devs! |
Closing as affected machine has been retired and there is no way to continue testing |
Trying to compile a GPU accelerated version of Relion 4 with the Intel oneapi 2023.1.0 toolkit. Building an ALTCPU build compiles fine, but building a CUDA-accelerated build fails at cmake with:
We have CUDA 11.7 installed and it is fully functional with our RTX A5000 GPUs
The cmake statement is:
Any ideas?
The text was updated successfully, but these errors were encountered: