Instalation of CUDA in Debian some hint or step by step to cuda instal

Hi, I’m having problems to install cuda in my debian etch, first I try to install the redhat toolkit, so I had error of float point exception when I try to run nvcc.

In the forum, there is a sugestion to use the suse toolkit, and whith this toolkit the nvcc seems to work fine.

I’m trying to compile some exemplas in SDK…

First I get the error:

make emu=1

/usr/bin/ld: cannot find -lGLU

I correct this error creating a link for to

After that a received

make emu=1

/usr/bin/ld: cannot find -lcutil
collect2: ld returned 1 exit status

I dont know if I understand the requisities to CUDA but I install the new nvidia display driver version 100.14.
My vga is a gf 5200 but in the emu=1 mode, is possible to compile , or not ?


Yes, you should be able to compile in emulation mode.

You need to build cutil before building the examples.

Yes, thanks, now it’is ok, I find in the realise notes of SDK how compile the libcutil, just use make in the SDK file.

But now i’m getting


make[1]: Entrando no diretório `/home/maicon/NVIDIA_CUDA_SDK/common’

src/error_checker.cpp:51:20: GL/glu.h: Arquivo ou diretório não encontrado

src/error_checker.cpp: In static member function `static void ErrorChecker::checkErrorGL(const char*, int)’:

src/error_checker.cpp:68: error: `gluErrorString’ was not declared in this scope

src/error_checker.cpp:68: warning: unused variable ‘gluErrorString’

make[1]: ** [obj/release/error_checker.cpp_o] Erro 1

make[1]: Saindo do diretório `/home/maicon/NVIDIA_CUDA_SDK/common’

make: ** [lib/] Erro 2

I will see if I find the solution.

If someone can help ?

Thanks a lot