-
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
11.x builds failing on system without nvcc
#297
Comments
As far as I remember, you need to install |
Installing that, it seems like the resulting
|
IIRC, with CUDA 11.x |
By "redefined" I mean it should be redefined to |
Ah thanks for that tip - this highlights what I assume is an underlying issue here, in that we aren't able to locate the
This warning specifically starts popping up with the installation of |
I had this discussion with @robertmaynard in the past, his answer was:
So yeah, I think you need a system install of CTK for CUDA 11.x to be able to compile. |
Thanks @pentschev, installed CTK 12.5 on my system (seemingly the oldest version available for ubuntu24.04 right now), and that unblocked builds. Moving forward, can or should we explicitly encode a CTK dependency similar to what RMM is doing in its CMakeLists.txt? Or is this too brittle of a solution, with just general documentation of system installing CTK for 11.x builds making more sense? |
Also worth noting that it seems like there's more required than just proper setting of |
Can you try setting the env variable |
Thanks for the tip - looks like that's still failing. For reference the command I'm working with:
Output of
|
I would need a full trace log from CMake to see what is exactly going wrong. IIRC the command line would be:
|
Here's a log with CMake traces enabled: |
Some clarification. The CMake uses different logic for finding I think the primary issue is that |
@charlesbluca do you think there's still anything we should do in UCXX for better UX? |
When attempting to build UCXX with the CUDA 11.8 conda environment on a system without
nvcc
pre-installed (i.e. all CTK components being installed through conda), I get the following error at build configuration:This was somewhat confusing, as the conda install itself raised a warning message that implied I should have
libcudart
in the conda environment:Saw that these failures were coming up in the configuration of RMM, so tried building that with its accompanying 11.8 conda environment and got a somewhat clearer error that it was unable to find an installation of CTK on my system (
nvcc
bin was missing):Was unable to reproduce this with the 12.5 environment, which does pull a conda installation of
nvcc
.About to do a system installation of CTK on the system to see if this unblocks
The text was updated successfully, but these errors were encountered: