Add the directory to your path and the compilation will be ok...
At the end of building process you should see... Finished building all...
Add this paths using command line
export PATH=$PATH:/usr/local/cuda/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib
At the end of building process you should see... Finished building all...
Add this paths using command line
export PATH=$PATH:/usr/local/cuda/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib
2 comments:
you can put this in the .bashrc file in the home folder.
by going to the home folder and saying gedit .bashrc
now next time onwards just run the bash from command prompt and that will do the rest.
- Mihir Patel
hi mihir,
i defined my path variables as above, when i try to run the program through the terminal, it works fine.
However when i try to run a .cu prog in eclipse, it says nvcc:command not found. Any way to fix this. Sry for the noob question.
Post a Comment