dgesv return cuctxsynchronize error

Open discussion for MAGMA

dgesv return cuctxsynchronize error

Postby itabhiyanta » Thu Dec 15, 2011 9:23 am

Hi

i have been trying to solve a linear system of equations using magma. i posted in this forum regarding the use of dgemv kernel generating wrong results so i moved on to a more general approach provided by magma

i am now using dgesv specifically magma_dgesv_gpu and passing it a square matrix and a right hand side and the required parametrs. when i compile (and link) i get an error message telling me that it cannot find a particular cuda function

dgetrf_gpu.cpp:(.text+0x44c): undefined reference to `cuCtxSynchronize'
dgetrf_gpu.cpp:(.text+0x9c2): undefined reference to `cuCtxSynchronize'

i am using a C2050 tesla card and i have tried with magma 1.0.0 1.1.0 and also with cuda4.0 and cuda 3.2 i get the same error. could someone please suggest how this error can be solved?

kindly reply if you know some solution.

thanks in advance.
rohit
itabhiyanta
 
Posts: 11
Joined: Thu Jul 01, 2010 12:12 pm

Re: dgesv return cuctxsynchronize error

Postby Stan Tomov » Fri Dec 16, 2011 4:07 pm

Do you have -lcuda at the linking stage (cuCtxSynchronize is defined in libcuda.so)?
Stan Tomov
 
Posts: 251
Joined: Fri Aug 21, 2009 10:39 pm

Re: dgesv return cuctxsynchronize error

Postby itabhiyanta » Mon Dec 19, 2011 3:48 am

thank you stan that works :)

rohit
itabhiyanta
 
Posts: 11
Joined: Thu Jul 01, 2010 12:12 pm


Return to User discussion

Who is online

Users browsing this forum: No registered users and 2 guests