-
Notifications
You must be signed in to change notification settings - Fork 123
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
Can't install on WSL #91
Comments
I finally managed to make it run. Sadly I'm too tired to fully document the process, but where is what I did:
For some reason, now the contents of
I had to change it in a way that I do not remember to run it with
I'll leave this thread open in case anyone else finds themselves in a similar situation, but we definitely need more ELI5-ish install instructions. Life as a programmer is hard. It is 4:18am now. Good night. |
Hello, I am having a similar problem. So far I did everything on Windows 11, without WSL, and when doing |
I've spent the last several hours trying to install Rust-CUDA on Windows 11 WSL, Ubuntu 20.04, in a Razer Blade 14 notebook, to no success. The install instructions seem to be outdated and/or unclear. I've installed everything following the GUIDE, which was particularly hard because 1. I'm on WSL, 2. it assumes I know what
LLVM_CONFIG
is, which I don't; 3. it assumes I know what islibnvvm
, which I don't. Regardless, after a lot of struggle, I've managed to install nVidia's drivers and CUDA (on Windows side), and CUDA Toolkit (on WSL), following this guide. Right now, when I runcargo run --bin add
onRust-CUDA
, I get the following error:After inspecting the code of
find_cuda_helper
, I've learned it is looking for the following file:/usr/local/cuda/lib/cuda.h
. That file is not present. Instead, the contents of/usr/local/cuda-11.8
are:There is a
include
directory on/usr/local/cuda/targets/x86_64-linux
, but that directory does not have acuda.h
file. Instead,cuda.h
can be found on/usr/include/cuda.h
, but it isn't acuda
directory, just the file isolated. I also have no idea whatlibnvvm
is, but the following file is present:./usr/lib/x86_64-linux-gnu/libnvvm.so
. Perhaps the way I installed the toolkit results in different from what Rust-CUDA expects? I've managed to get the demo working on WSL via Docker, which, in theory, implies I should be able to install it directly, but I'm not sure how to proceed.The text was updated successfully, but these errors were encountered: