Announcement

Collapse
No announcement yet.

CUDA: nvcc cannot be detected installation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Benson
    replied
    In fact, it's the situation that I set the environment variable in a wrong way. As a replacement for

    $ export PATH=/usr/local/cuda-7.0/bin:$PATH
    $ export LD_LIBRARY_PATH=/usr/local/cuda-7.0/lib64:$LD_LIBRARY_PATH
    as it's recommended, I select to edit /etc/profile, which is not recommended.

    Leave a comment:


  • Nimbus
    replied
    Please add your solution as an answer so it will help to the others.

    Leave a comment:


  • Benson
    replied
    Sorry, I have just noticed that I didn't actually add cuda to my current user's path.
    Now the problem has been fixed.

    Leave a comment:


  • Hadley
    replied
    Can you please post the output of the echo $PATH command?

    Leave a comment:


  • Benson
    replied
    Originally posted by Luca View Post
    To make sure, close and launch terminal and try nvcc --version
    No nothing happened

    Leave a comment:


  • Moriana
    replied
    Can you find where nvcc is installed on your filesystem? If you can, is that path actually in your $PATH?

    Leave a comment:


  • Luca
    replied
    To make sure, close and launch terminal and try nvcc --version
    Last edited by Luca; 22-02-17, 07:09 AM.

    Leave a comment:


  • Benson
    replied
    I tried but it only shown "nvcc: "

    Leave a comment:


  • Luca
    replied
    It means either nvcc didn't install properly or is not in your PATH, find where it is installed with whereis nvcc

    Leave a comment:


  • Benson
    replied
    Originally posted by Luca View Post
    Run which nvcc see if it returns anything.
    No it didn't return

    Leave a comment:


  • Luca
    replied
    Run which nvcc see if it returns anything.

    Leave a comment:


  • Benson
    started a topic CUDA: nvcc cannot be detected installation

    CUDA: nvcc cannot be detected installation

    Hello,
    I successfully installed the latest version cuda8.0. But when I type the command "nvcc --version" it says to me that
    The program 'nvcc' is currently not installed.
    What do I need to do now?


Working...
X