-
Notifications
You must be signed in to change notification settings - Fork 36
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
Structure of nvidia-cuda-toolkit seems to have changed in Ubuntu 18.04 #54
Comments
Thanks for the heads up! I also haven't tried the package from I think that it is just the It is still looking for the |
Hey np! So the initial structure of /usr/lib/cuda is:
bin, include, lib64 are all empty, nvvm contains libdevice I symlinked include as /usr/include and cuda built (because of missing cuda.h) My simple executable compiled with accelerate-llvm-ptx, but wouldn't run because of missing ptxas at bin/ptxas so i symlinked bin as /usr/bin and everything ran. Wasn't too bad |
I think this is fixed and can be closed with AccelerateHS/accelerate#444 |
Just a heads up,
Tried to install the cuda package on Ubuntu 18.04 ahead of it's release. If you leave it to install with no CUDA_PATH set, it finds nvcc at /usr/bin/nvcc, then goes up a couple levels and can't find /usr/lib64. If I set CUDA_PATH to /usr/lib/cuda I get:
(include and lib64 are empty, copied to /usr/include/ and /usr/lib/x86_64-linux-gnu/ instead)
Was the first time I installed 'nvidia-cuda-toolkit' from apt-get in a long time due to its lag in release (right now its current at 9.1), not sure if this structure changed just in 18.04.
I did try creating /usr/lib64 for fun, cuda compiled, but accelerate-llvm-ptx died not being able to find the nvvm directory and libdevice (nvvm/libdevice being located in /usr/lib/cuda), also strange because I thought nvvm was default off?
The text was updated successfully, but these errors were encountered: