cgglse and LAPACK
Posted: Thu Aug 02, 2018 2:10 pm
Hi all,
I'm running MAGMA on windows through Visual Studios. I'm attempting to run the magma_cgglse function and I'm receiving the following errors.
1>magma.lib(cgglse.obj) : error LNK2001: unresolved external symbol caxpy_
1>magma.lib(cgglse.obj) : error LNK2001: unresolved external symbol ccopy_
1>magma.lib(cgglse.obj) : error LNK2001: unresolved external symbol cgemv_
1>magma.lib(cgglse.obj) : error LNK2001: unresolved external symbol ctrmv_
1>magma.lib(cgglse.obj) : error LNK2001: unresolved external symbol ctrsv_
1>magma.lib(cggrqf.obj) : error LNK2001: unresolved external symbol cgerqf_
1>magma.lib(cgeqrf_mgpu.obj) : error LNK2001: unresolved external symbol clarft_
1>magma.lib(cgeqrf2_gpu.obj) : error LNK2001: unresolved external symbol clarft_
1>magma.lib(cunmrq.obj) : error LNK2001: unresolved external symbol clarft_
1>magma.lib(cunmqr.obj) : error LNK2001: unresolved external symbol clarft_
1>magma.lib(cgeqrf.obj) : error LNK2001: unresolved external symbol clarft_
1>magma.lib(cgeqrf_ooc.obj) : error LNK2001: unresolved external symbol clarft_
1>magma.lib(cunmrq.obj) : error LNK2001: unresolved external symbol cunmrq_
1>magma.lib(cunmqr.obj) : error LNK2001: unresolved external symbol cunmqr_
1>magma.lib(magma_cauxiliary.obj) : error LNK2001: unresolved external symbol slamch_
1>magma.lib(cgeqrf.obj) : error LNK2001: unresolved external symbol cgeqrf_
1>magma.lib(cgeqrf_m.obj) : error LNK2001: unresolved external symbol cgeqrf_
1>magma.lib(cgeqrf_mgpu.obj) : error LNK2001: unresolved external symbol cgeqrf_
1>magma.lib(cgeqrf2_gpu.obj) : error LNK2001: unresolved external symbol cgeqrf_
From what I can tell these unresolved externals are from LAPACK. Upon installing MAGMA, I did not have any BLAS or LAPACK libraries at the time. If I rebuild MAGMA through CMake and include the locations of both libraries will that solve this problem?
On another note, I have attempted to download LAPACK but I do not have access to a Fortran compiler. Is there a way to download LAPACK without Fortran like there is for MAGMA?
Thank you,
Josh
I'm running MAGMA on windows through Visual Studios. I'm attempting to run the magma_cgglse function and I'm receiving the following errors.
1>magma.lib(cgglse.obj) : error LNK2001: unresolved external symbol caxpy_
1>magma.lib(cgglse.obj) : error LNK2001: unresolved external symbol ccopy_
1>magma.lib(cgglse.obj) : error LNK2001: unresolved external symbol cgemv_
1>magma.lib(cgglse.obj) : error LNK2001: unresolved external symbol ctrmv_
1>magma.lib(cgglse.obj) : error LNK2001: unresolved external symbol ctrsv_
1>magma.lib(cggrqf.obj) : error LNK2001: unresolved external symbol cgerqf_
1>magma.lib(cgeqrf_mgpu.obj) : error LNK2001: unresolved external symbol clarft_
1>magma.lib(cgeqrf2_gpu.obj) : error LNK2001: unresolved external symbol clarft_
1>magma.lib(cunmrq.obj) : error LNK2001: unresolved external symbol clarft_
1>magma.lib(cunmqr.obj) : error LNK2001: unresolved external symbol clarft_
1>magma.lib(cgeqrf.obj) : error LNK2001: unresolved external symbol clarft_
1>magma.lib(cgeqrf_ooc.obj) : error LNK2001: unresolved external symbol clarft_
1>magma.lib(cunmrq.obj) : error LNK2001: unresolved external symbol cunmrq_
1>magma.lib(cunmqr.obj) : error LNK2001: unresolved external symbol cunmqr_
1>magma.lib(magma_cauxiliary.obj) : error LNK2001: unresolved external symbol slamch_
1>magma.lib(cgeqrf.obj) : error LNK2001: unresolved external symbol cgeqrf_
1>magma.lib(cgeqrf_m.obj) : error LNK2001: unresolved external symbol cgeqrf_
1>magma.lib(cgeqrf_mgpu.obj) : error LNK2001: unresolved external symbol cgeqrf_
1>magma.lib(cgeqrf2_gpu.obj) : error LNK2001: unresolved external symbol cgeqrf_
From what I can tell these unresolved externals are from LAPACK. Upon installing MAGMA, I did not have any BLAS or LAPACK libraries at the time. If I rebuild MAGMA through CMake and include the locations of both libraries will that solve this problem?
On another note, I have attempted to download LAPACK but I do not have access to a Fortran compiler. Is there a way to download LAPACK without Fortran like there is for MAGMA?
Thank you,
Josh