![]() ![]() Under the Select Target Platform (or similar) section, choose the following options: This page provides the installation instructions for the latest version of the CUDA Toolkit. Navigate to the NVIDIA CUDA Toolkit Download page. See NVIDIA’s Choose an Installation Method for more details. These steps cover using the destribution-specific packages as recommended by NVIDIA. There are two methods to do this locally: distribution-specific packages (through a package manager) or a distribution-independant runfile. # $(info) > findgllib.Install the NVIDIA CUDA Toolkit software for your distribution. # $(info) > findgllib.mk -> LINUX path /dev/null 2>&1 echo $$?)Īnd replace it with the following code: ifeq ("$(TARGET_OS)","linux")Īn executable should have been created. Search for the following if-condition: ifeq ("$(TARGET_OS)","linux") In the samples folder, open findgllib.mk: gedit /home/john/cuda-7.5_samples/5_Simulations/nbody/findgllib.mk ![]() Locate the libary files by running: locate libGL.soĬheck which folder they are located in (e.g. Naviagte to a sample that does require graphics output, e.g.: cd /home/john/cuda-7.5_samples/5_Simulations/nbody simplePrintfįor samples that do require graphics ouput, the library paths need to be fixed. Navigate to cuda samples location (as specified during installation): cd /home/john/cuda-7.5_samples/0_Simple/simplePrintfĪn executable should have been created. Sudo chgrp -R john /home/john/cuda-7.5_samplesĬheck the result Check whether the samples that do not require graphics ouput are working Sudo chown -R john /home/john/cuda-7.5_samples bashrc: sudo gedit /home/john/.bashrcĪdd the following lines: # Manually added by john to enable CUDA:Įxport LD_LIBRARY_PATH=/home/john/cuda-7.5/lib64:$LD_LIBRARY_PATHĮxport LIBRARY_PATH=/home/john/cuda-7.5/lib64:$LIBRARY_PATHĮxport PATH=/home/john/cuda-7.5/bin:$PATHĬhange permissions of cuda folders: sudo chown -R john /home/john/cuda-7.5 This should start up successfully with GUI enabled (at native monitor resolution).Īdd path exports to your. Run nvidia-xconfig? -> 'yes' (This option is new in CUDA 8.0, not sure about the consequences.)Ĭreate symbolic link at /usr/local? -> yesĬUDA samples location? -> /home/john/cuda-7.5_samples Terms and condition? -> accept (If you feel like it.) Navigate to downloads folder (or where ever you put the installer), run cuda installer: cd /home/john/Downloadsįollow the installer menu. Log in as normal user, and activate su: su How to boot into init 3: When in starting screen press e to edit start commands, find relevant installation ( quiet), add init 3 Install the following packages: sudo apt-get install gcc g++ gcc-4.8 g++-4.8 gcc-4.9 g++-4.9 libxi6 libxi-dev libglu1-mesa libglu1-mesa-dev libxmu6 linux-headers-amd64 linux-source freeglut3-dev If the nouveau was successfully disabled, the screen resolution should be lower. Sudo apt-get install lib32z1 lib32ncurses5īlacklist the nouveau driver: sudo mousepad /etc/modprobe.d/nfĬopy the following line into the document: blacklist nouveau Install 32 bit support: sudo dpkg -add-architecture i386 Sudo apt-get install dkms build-essential linux-headers-$(uname -r) ![]() Get necessary packages: sudo apt-get update The full link to this version as of the time this document was created:Ĭhange file permission of the installation file: cd /home/john/Downloads/ This document describes how to install nvidia drivers & CUDA in one go on a fresh debian install.ĭownload the CUDA driver with the following specifications: Parameter ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |