Thank your friends for supporting this blog, welcome to discuss the exchange, because of limited capacity and time, mistakes are unavoidable. Please correct me!
If reproduced, please retain the author's information.
Blog Address: http://blog.csdn.net/qq_21398167
Original post address: http://blog.csdn.net/qq_21398167/article/details/46413683
Login system with usernamecluster
1. Check if the GPUis installed:
- Lspci | Grep-i nvidia
2. Install gcc,g++ compiler
- sudo yum install gcc
- sudo yum install gcc-c++
3. Installing kernel-devel
- sudo yum install Kernel-devel
4. Install the Driver. Toolkit and Samples
- sudo sh cuda_5.5.22_linux_64.run--kernel-source-path= '/usr/src/kernels/2.6.32-358.23.2.el6.x86_64 '
- Here we have installed a matching driver, so the first Driver out of the time to choose N after all Y, you can
5. in the /home/cluster/.bashrc file Add for example the following:
- Export path= $PATH:/usr/local/cuda-5.5/bin
- Export Ld_library_path= $LD _library_path:/usr/local/cuda-5.5/lib64
Make the configuration effective immediately:
- Source/home/cluster/.bashrc
6. Compile and execute the Demo sample program in Samples to verify the installation is successful
Comes with a nsight environment and SDK
Linux (CentOS7) installation Cuda