CUDA 11.1 Post-installation actions

Well, the instructions for post-installation:

export PATH=/usr/local/cuda-11.1/bin${PATH:+:${PATH}}

export LD_LIBRARY_PATH=/usr/local/cuda-11.1/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

After that, Ubuntu 20.04 path not working property and Cuda 11.1 path, not a valid identifier!

My question: Why? Why are the instructions not working? Aren’t these instructions wrong?

Those are the correct instructions. I have those running in my .bashrc.

  1. Have you tried pasting those in your .bashrc, running source ~/.bashrc, then reinstalling.
  2. Have you confirmed CUDA 11.1 is installed in /usr/local/cuda-11.1

Hi mnicely,

1 - Yes, I wrote in .bashrc!
I copy and paste from the post-installation instructions. But seems to be a problem with the indentation…

2 - Yes, the installation seems to be correct!

Could you tell me what’s wrong? Thank you very much for your help!!!