Skip to content
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

Topic: Install CUDA for Bend on WLS2 ??? #16

Open
EloiStree opened this issue Jun 12, 2024 · 5 comments
Open

Topic: Install CUDA for Bend on WLS2 ??? #16

EloiStree opened this issue Jun 12, 2024 · 5 comments

Comments

@EloiStree
Copy link
Owner

EloiStree commented Jun 12, 2024

I am lost.
image


This video allows to step by step check if the way.
image
https://youtu.be/JaHVsZa2jTc

@EloiStree
Copy link
Owner Author

https://askubuntu.com/questions/1292866/package-dkms-has-no-installation-candidate
sudo apt update, sudo apt upgrade and sudo apt install dkms
sudo apt-add-repository main

@EloiStree
Copy link
Owner Author

EloiStree commented Jun 13, 2024

Driver:   Not Selected
Toolkit:  Installed in /usr/local/cuda-12.5/

Please make sure that
 -   PATH includes /usr/local/cuda-12.5/bin
 -   LD_LIBRARY_PATH includes /usr/local/cuda-12.5/lib64, or, add /usr/local/cuda-12.5/lib64 to /etc/ld.so.conf and run ldconfig as root

To uninstall the CUDA Toolkit, run cuda-uninstaller in /usr/local/cuda-12.5/bin
***WARNING: Incomplete installation! This installation did not install the CUDA Driver. A driver of version at least 555.00 is required for CUDA 12.5 functionality to work.
To install the driver using this installer, run the following command, replacing <CudaInstaller> with the name of this run file:
    sudo <CudaInstaller>.run --silent --driver

Logfile is /var/log/cuda-installer.log
root@MSI:~# 

https://gist.github.com/kmhofmann/cee7c0053da8cc09d62d74a6a4c1c5e4

Do what the instructions given in the summary say and add the given directories to your PATH and LD_LIBRARY_PATH. For example by adding the following lines to your .bashrc, .zshrc, or whatever shell you are using:

export PATH=/usr/local/cuda-11.0/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-11.0/lib64:$LD_LIBRARY_PATH

@EloiStree
Copy link
Owner Author

HigherOrderCO/Bend#532

nvcc
Command 'nvcc' not found, but can be installed with:
apt install nvidia-cuda-toolkit

@EloiStree
Copy link
Owner Author

EloiStree commented Jun 13, 2024

Check that Nvidia and nvcc are installed ?

nvidia-smi
nvcc --version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant