Difference between revisions of "Cluster der kan alt/Installation af CUDA"

From Teknologisk videncenter
Jump to: navigation, search
(Installation af cuda)
(Installation af cuda)
Line 14: Line 14:
 
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:
+
du skal bruge cuda libraries i din library path så opret /etc/ld.so.conf.d/cuda.conf aog add disse linjer:
 
/usr/local/cuda/lib64
 
/usr/local/cuda/lib64
 
/usr/local/cuda/lib
 
/usr/local/cuda/lib
  
  
run ldconfig as root for it to take effect:
+
kør ldconfig som root for at få det til at virke:
 
sudo ldconfig
 
sudo ldconfig
  
  
you also want to add /usr/local/cuda/bin to your PATH you can do it by adding
+
du skal også adde  /usr/local/cuda/bin til din sti. du kan gøre det ved at adde
 
PATH="$PATH:/usr/local/cuda/bin"
 
PATH="$PATH:/usr/local/cuda/bin"
  

Revision as of 13:58, 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

du skal bruge cuda libraries i din library path så opret /etc/ld.so.conf.d/cuda.conf aog add disse linjer: /usr/local/cuda/lib64 /usr/local/cuda/lib


kør ldconfig som root for at få det til at virke: sudo ldconfig


du skal også adde /usr/local/cuda/bin til din sti. du kan gøre det ved at adde PATH="$PATH:/usr/local/cuda/bin"

Alt er gemt i standard foldersne

Links