Cluster der kan alt/Installation af CUDA

From Teknologisk videncenter
< Cluster der kan alt
Revision as of 13:56, 24 April 2012 by Madsen353 (talk | contribs) (Installation af cuda)
Jump to: navigation, search

Installation af cuda

Først skal cuda hentes fra nvidias hjemmeside på en windows pc. Der skal hentes 3 installations filer Toolkit, Drivers, og SDK Og det skal hentes fra http://developer.nvidia.com/cuda-downloads

Det skal derefter ligges over på linux maskinen via programmet pscp som kan hentes på puttys hjemmeside - Man kører filerne over via CMD

Når filerne er på maskinen kører man en chmod +x og skriver filnavnet efter "x"et.

for at kører filerne derefter trykker man ./ og filens navn Rækkefølgen skal være Toolkit - Drivers - SDK

You will need to have the cuda libraries in your library path so create /etc/ld.so.conf.d/cuda.conf and ad the following lines: /usr/local/cuda/lib64 /usr/local/cuda/lib


run ldconfig as root for it to take effect: sudo ldconfig


you also want to add /usr/local/cuda/bin to your PATH you can do it by adding PATH="$PATH:/usr/local/cuda/bin"

Alt er gemt i standard foldersne

Links