undefined reference to symbol 'cudaStreamCreate'

Open discussion for MAGMA

undefined reference to symbol 'cudaStreamCreate'

Postby Linuxboy » Thu Dec 08, 2011 1:13 pm

I've got error when build tests

/usr/bin/ld: ../lib/libmagma.a(dsygvd.o): undefined reference to symbol 'cudaStreamCreate'
/usr/bin/ld: note: 'cudaStreamCreate' is defined in DSO /usr/local/cula/lib64/libcudart.so.4 so try adding it to the linker command line
/usr/local/cula/lib64/libcudart.so.4: could not read symbols: Invalid operation
collect2: выполнение ld завершилось с кодом возврата 1
make: *** [testing_dgetrf_gpu_f] Ошибка 1
Linuxboy
 
Posts: 14
Joined: Tue Nov 29, 2011 9:24 pm

Re: undefined reference to symbol 'cudaStreamCreate'

Postby fletchjp » Sun Dec 11, 2011 6:54 am

I think this is a problem with linking and the solution is the double linking of magma:

Code: Select all
-lmagma -lmagmablas -lmagma


I am sure I have seen the same problem reported somewhere else and cannot find the thread.

I hope this helps.

John
fletchjp
 
Posts: 175
Joined: Mon Dec 27, 2010 7:29 pm


Return to User discussion

Who is online

Users browsing this forum: Bing [Bot] and 2 guests