magma_dormtr

Open discussion for MAGMA

magma_dormtr

Postby jeremiahpalmer » Thu Mar 31, 2011 11:41 am

Hello, all!

I look at the magma_dsyevd code, and I find that magma_dormtr is commented out. Furthermore, when I attempt to call it with my own code, I get these compile errors:

In function `printout_devices':
auxiliary.cpp:(.text+0xf0): undefined reference to `cuDeviceGetCount'
auxiliary.cpp:(.text+0x119): undefined reference to `cuDeviceGet'
auxiliary.cpp:(.text+0x12e): undefined reference to `cuDeviceGetName'
auxiliary.cpp:(.text+0x142): undefined reference to `cuDeviceTotalMem_v2'
auxiliary.cpp:(.text+0x15b): undefined reference to `cuDeviceGetAttribute'

Is there going to be a fix for the magma_dormtr routine soon?

Thanks,
Jeremiah
jeremiahpalmer
 
Posts: 58
Joined: Fri Jan 28, 2011 12:46 pm

Re: magma_dormtr

Postby Stan Tomov » Thu Mar 31, 2011 11:44 am

Jeremiah,
Yes, this routine is fixed and will be available in the next release.
Regards,
Stan
Stan Tomov
 
Posts: 253
Joined: Fri Aug 21, 2009 10:39 pm

Re: magma_dormtr

Postby jeremiahpalmer » Thu Mar 31, 2011 11:50 am

Thank you for the quick reply, and the good news.

-Jeremiah
jeremiahpalmer
 
Posts: 58
Joined: Fri Jan 28, 2011 12:46 pm

Re: magma_dormtr

Postby jeremiahpalmer » Sun Apr 24, 2011 8:28 pm

Hello,

I am trying to call magma_dormtr (RC5) directly with my code. When I attempt to compile my code, I get the same errors that I received when I tried to compile it with RC3. Specifically, I get these error messages:
Code: Select all
/magma/magma_1.0.0-rc5/lib/libmagma.a(auxiliary.o): In function `printout_devices':
auxiliary.cpp:(.text+0xd0): undefined reference to `cuDeviceGetCount'
auxiliary.cpp:(.text+0xf9): undefined reference to `cuDeviceGet'
auxiliary.cpp:(.text+0x10e): undefined reference to `cuDeviceGetName'
auxiliary.cpp:(.text+0x122): undefined reference to `cuDeviceTotalMem_v2'
auxiliary.cpp:(.text+0x13b): undefined reference to `cuDeviceGetAttribute'

Thanks for checking into this! (BTW, testing_dsyevd has *very* impressive performance!)
jeremiahpalmer
 
Posts: 58
Joined: Fri Jan 28, 2011 12:46 pm

Re: magma_dormtr

Postby Stan Tomov » Sun Apr 24, 2011 11:03 pm

Hi,
These are CUDA functions:
Code: Select all
[tomov@cumin testing]$ nm -D /usr/lib/libcuda.so | grep cuDeviceGet
/usr/lib/libcuda.so:00000000000fadd0 T cuDeviceGet
/usr/lib/libcuda.so:00000000000fa0a0 T cuDeviceGetAttribute
/usr/lib/libcuda.so:00000000000fabc0 T cuDeviceGetCount
/usr/lib/libcuda.so:00000000000fa980 T cuDeviceGetName
/usr/lib/libcuda.so:00000000000fa2e0 T cuDeviceGetProperties

Do you have -lcuda for the linking.
Stan
Stan Tomov
 
Posts: 253
Joined: Fri Aug 21, 2009 10:39 pm

Re: magma_dormtr

Postby jeremiahpalmer » Sun Apr 24, 2011 11:11 pm

Thanks. That's what I was missing!

-Jeremiah
jeremiahpalmer
 
Posts: 58
Joined: Fri Jan 28, 2011 12:46 pm


Return to User discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron