Difference between revisions of "Cluster der kan alt/Installation af CUDA"
(→Installation af cuda) |
|||
Line 13: | Line 13: | ||
Rækkefølgen skal være | Rækkefølgen skal være | ||
Toolkit - Drivers - SDK | 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 | Alt er gemt i standard foldersne |
Revision as of 13:56, 24 April 2012
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