magma_dormtr
-
jeremiahpalmer
- Posts: 58
- Joined: Fri Jan 28, 2011 12:46 pm
magma_dormtr
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
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
-
Stan Tomov
- Posts: 283
- Joined: Fri Aug 21, 2009 10:39 pm
Re: magma_dormtr
Jeremiah,
Yes, this routine is fixed and will be available in the next release.
Regards,
Stan
Yes, this routine is fixed and will be available in the next release.
Regards,
Stan
-
jeremiahpalmer
- Posts: 58
- Joined: Fri Jan 28, 2011 12:46 pm
Re: magma_dormtr
Thank you for the quick reply, and the good news.
-Jeremiah
-Jeremiah
-
jeremiahpalmer
- Posts: 58
- Joined: Fri Jan 28, 2011 12:46 pm
Re: magma_dormtr
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:
Thanks for checking into this! (BTW, testing_dsyevd has *very* impressive performance!)
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'
-
Stan Tomov
- Posts: 283
- Joined: Fri Aug 21, 2009 10:39 pm
Re: magma_dormtr
Hi,
These are CUDA functions:
Do you have -lcuda for the linking.
Stan
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
Stan
-
jeremiahpalmer
- Posts: 58
- Joined: Fri Jan 28, 2011 12:46 pm
Re: magma_dormtr
Thanks. That's what I was missing!
-Jeremiah
-Jeremiah