The Art of Multiprocessor Programming
There are several ways to install cuda on a machine having nvidia GPU
Requirements:
1.CUDA driver provided by nvidia
2.Cuda SDK provided by nVidia.
3.These steps are to install it in linux.
4.Download the nvcc package first (It's the nvidia c compiler)provided by nvidia
5.Execute the package in terminal using "./cuda.run" command ( you need to be root)
6.Now we need to set the environment variables for the nvcc by executing the following command.
#export PATH=$PATH:/usr/local/cuda/bin
#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib
Happy ending......
Now u'll be able to run the nvcc command.
Note: you will need to set the path each time you run the terminal. If you do not wish to do that again, you'll need to do changes in a bash file
There are several ways to install cuda on a machine having nvidia GPU
Requirements:
1.CUDA driver provided by nvidia
2.Cuda SDK provided by nVidia.
3.These steps are to install it in linux.
4.Download the nvcc package first (It's the nvidia c compiler)provided by nvidia
5.Execute the package in terminal using "./cuda.run" command ( you need to be root)
6.Now we need to set the environment variables for the nvcc by executing the following command.
#export PATH=$PATH:/usr/local/cuda/bin
#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib
Happy ending......
Now u'll be able to run the nvcc command.
Note: you will need to set the path each time you run the terminal. If you do not wish to do that again, you'll need to do changes in a bash file
No comments:
Post a Comment