Attempt to run MAGMA file
Posted: Thu Jan 06, 2011 5:04 pm
Hi all,
A fast technical question on Magma compilation, if I may:
I'm working on 32-bit Vista, using Notepad++ and the DOS window to write programs and execute them. I added my #include files as necessary, then ran the eigenvalue solver "zgeqrf.cu"
It gave me 11 errors, asking for .lib links like "cublas," "magma_z," etc.
When I added the syntax "-lcublas" in the command line, the errors related to CUBLAS went away. I'm now down to 7 errors.
As far as I know, "-lcublas" links my program to the CUBLAS library. If that's true, I have a problem; there's no MAGMA library that I know of. So for the remaining 7 errors, should I link .h files, or is there something else wrong?
For reference, I've added the 7 errors I got:
tmpfxt_00000a7c_00000000-14_zgeqrf.obj : error LNK2019: unresolved external symbol _zq_to_panel referenced in function _magma_zgeqrf
tmpfxt_00000a7c_00000000-14_zgeqrf.obj : error LNK2019: unresolved external symbol _zpanel_to_q referenced in function _magma_zgeqrf
tmpfxt_00000a7c_00000000-14_zgeqrf.obj : error LNK2019: unresolved external symbol _lapackf77_zlarft referenced in function _magma_zgeqrf
tmpfxt_00000a7c_00000000-14_zgeqrf.obj : error LNK2019: unresolved external symbol _lapackf77_zgeqrf referenced in function _magma_zgeqrf
tmpfxt_00000a7c_00000000-14_zgeqrf.obj : error LNK2019: unresolved external symbol _magma_zlarfb_gpu referenced in function _magma_zgeqrf
tmpfxt_00000a7c_00000000-14_zgeqrf.obj : error LNK2019: unresolved external symbol _magma_get_zgeqrf_nb referenced in function _magma_zgeqrf
LIBCMT.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
Thanks a bunch for any replies.
A fast technical question on Magma compilation, if I may:
I'm working on 32-bit Vista, using Notepad++ and the DOS window to write programs and execute them. I added my #include files as necessary, then ran the eigenvalue solver "zgeqrf.cu"
It gave me 11 errors, asking for .lib links like "cublas," "magma_z," etc.
When I added the syntax "-lcublas" in the command line, the errors related to CUBLAS went away. I'm now down to 7 errors.
As far as I know, "-lcublas" links my program to the CUBLAS library. If that's true, I have a problem; there's no MAGMA library that I know of. So for the remaining 7 errors, should I link .h files, or is there something else wrong?
For reference, I've added the 7 errors I got:
tmpfxt_00000a7c_00000000-14_zgeqrf.obj : error LNK2019: unresolved external symbol _zq_to_panel referenced in function _magma_zgeqrf
tmpfxt_00000a7c_00000000-14_zgeqrf.obj : error LNK2019: unresolved external symbol _zpanel_to_q referenced in function _magma_zgeqrf
tmpfxt_00000a7c_00000000-14_zgeqrf.obj : error LNK2019: unresolved external symbol _lapackf77_zlarft referenced in function _magma_zgeqrf
tmpfxt_00000a7c_00000000-14_zgeqrf.obj : error LNK2019: unresolved external symbol _lapackf77_zgeqrf referenced in function _magma_zgeqrf
tmpfxt_00000a7c_00000000-14_zgeqrf.obj : error LNK2019: unresolved external symbol _magma_zlarfb_gpu referenced in function _magma_zgeqrf
tmpfxt_00000a7c_00000000-14_zgeqrf.obj : error LNK2019: unresolved external symbol _magma_get_zgeqrf_nb referenced in function _magma_zgeqrf
LIBCMT.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
Thanks a bunch for any replies.