User Tools

Site Tools


ace-gpu-1_installation_log

**This is an old revision of the document!** ----

A PCRE internal error occured. This might be caused by a faulty plugin

====== 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. <code> chmod 770 NVIDIA-Linux-x86_64-375.26.run /etc/init.d/lightdm stop ./NVIDIA-Linux-x86_64-375.26.run reboot </code> ===== CUDA ==== Installation of CUDA from debian package ==== Confirm GPU ==== <code> lspci | grep -i nvidia </code> Output example <code> 01:00.0 VGA compatible controller: NVIDIA Corporation Device 1b00 (rev a1) 01:00.1 Audio device: NVIDIA Corporation Device 10ef (rev a1) </code> ==== gcc version ==== <code> gcc --version </code> <code> 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. </code> ==== ensure for headers ==== <code> sudo apt-get install linux-headers-$(uname -r) </code> ==== Download CUDA Toolkit ==== <code> 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 </code> ==== Confirm checksum ==== <code> wget https://developer.nvidia.com/compute/cuda/8.0/Prod2/docs/sidebar/md5sum-txt </code> <code> 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 </code> ==== Install ==== <code> 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 </code> Reboot system. ==== Environment Setup ==== === Add CUDA bin path === </code> export PATH=/usr/local/cuda-8.0/bin:${PATH} echo $PATH <code> === Ensure for LD_LIBRARY_PATH === Ensure LD_LIBRARY_PATH includes `/usr/local/cuda-8.0/lib64` <code> echo $LD_LIBRARY_PATH </code> If not set set using: <code> export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64 </code> otherwise something like this: <code> export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64:$LD_LIBRARY_PATH </code> ==== /etc/skel ==== Configure `/etc/skel` so that new users have the proper environment configuration <code> nano /etc/skel/.profile </code> Content example <code> In process </code> <code> </code> <code> </code> <code> </code> <code>

ace-gpu-1_installation_log.1490387088.txt.gz · Last modified: 2017/03/24 20:24 by csteel