1、Verify You Have a CUDA-Capable GPU
lspci | grep -i nvidia
2、Verify You Have a Supported Version of Linux
uname -m && cat /etc/*release
3、Verify the System Has gcc Installed
gcc --version
--or
yum groupinstall "Development Tools"
--or
yum install gcc gcc-c++ kernel-devel
4、Install OpenGL driver
yum install freeglut
ln -s /usr/lib/x86_64-linux-gnu/libglut.so.3 /usr/lib/libglut.so
如果不安装,在summary部分就会出现:
Samples: Installation Failed. Missing required libraries.
Missing required library libglut.so
5、Download the NVIDIA CUDA Toolkit
http://www.nvidia.com/content/cuda/cuda-downloads.html.
6、Install the NVIDIA CUDA Toolkit
1)Exit the GUI if you are in a GUI environment
/sbin/init 3
2) Install the CUDA Toolkit by running the dow
lspci | grep -i nvidia
2、Verify You Have a Supported Version of Linux
uname -m && cat /etc/*release
3、Verify the System Has gcc Installed
gcc --version
--or
yum groupinstall "Development Tools"
--or
yum install gcc gcc-c++ kernel-devel
4、Install OpenGL driver
yum install freeglut
ln -s /usr/lib/x86_64-linux-gnu/libglut.so.3 /usr/lib/libglut.so
如果不安装,在summary部分就会出现:
Samples: Installation Failed. Missing required libraries.
Missing required library libglut.so
5、Download the NVIDIA CUDA Toolkit
http://www.nvidia.com/content/cuda/cuda-downloads.html.
6、Install the NVIDIA CUDA Toolkit
1)Exit the GUI if you are in a GUI environment
/sbin/init 3
2) Install the CUDA Toolkit by running the dow