This is an old revision of the document!
ace-gpu-1 installation log
Log of platform setup and configuration
Base
NVIDIA Driver
This is probably not required as a driver is included with CUDA.
chmod 770 NVIDIA-Linux-x86_64-375.26.run /etc/init.d/lightdm stop ./NVIDIA-Linux-x86_64-375.26.run reboot
CUDA
Installation of CUDA from debian package
Confirm GPU
lspci | grep -i nvidia
Output example
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1b00 (rev a1) 01:00.1 Audio device: NVIDIA Corporation Device 10ef (rev a1)
gcc version
gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
ensure for headers
sudo apt-get install linux-headers-$(uname -r)
Download CUDA Toolkit
wget https://developer.nvidia.com/compute/cuda/8.0/Prod2/local_installers/cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64-deb
Confirm checksum
wget https://developer.nvidia.com/compute/cuda/8.0/Prod2/docs/sidebar/md5sum-txt
md5sum cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64-deb cat md5sum-txt | grep cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64
Install
mv cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64-deb cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64.deb sudo dpkg -i cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64.deb sudo apt-get update sudo apt-get install cuda
Reboot system.
Environment Setup
Add CUDA bin path
</code> export PATH=/usr/local/cuda-8.0/bin:${PATH} echo $PATH
=== Ensure for LD_LIBRARY_PATH === Ensure LD_LIBRARY_PATH includes `/usr/local/cuda-8.0/lib64` <code> echo $LD_LIBRARY_PATH
If not set set using:
export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64
otherwise something like this:
export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64:$LD_LIBRARY_PATH
/etc/skel
Configure `/etc/skel` so that new users have the proper environment configuration
nano /etc/skel/.profile
Content example
<code>