Multiple CUDA versions on machine nvcc -V confusion

前端 未结 2 1225
长情又很酷
长情又很酷 2021-02-02 11:00

I used to have cuda-7.0 installed on my machine and later un-installed cuda-7.0 and installed cuda-8.0. When I go to my /usr/local folder I see the following folders:

         


        
2条回答
  •  闹比i
    闹比i (楼主)
    2021-02-02 11:49

    Solution as suggested in the comments:

    export PATH=/usr/local/cuda-8.0/bin:$PATH
    

    The problem was the ordering of $PATH, that my previous command had the =$PATH:/usr/local... instead of =/usr/local....:$PATH

提交回复
热议问题