Need help compiling magma on windows

Open discussion for MAGMA library (Matrix Algebra on GPU and Multicore Architectures)
Post Reply
sergeyn
Posts: 3
Joined: Sun Sep 25, 2011 1:22 pm

Need help compiling magma on windows

Post by sergeyn » Sun Sep 25, 2011 1:28 pm

Hi, I'm trying to get it compiled on windows, and ran into following missing simbol:
magma_zssrfb

Simbols like 'strsm_' and 'sgemm_' I should find blas/lapack library like mkl ? (correct me if I'm wrong).

Also, in file ztsqrt_gpu on line 141 visual studio compiler complains about not being to cast, so I have replaced this:

Code: Select all

work[0] = (cuDoubleComplex) lwkopt;
with this:

Code: Select all

work[0] = make_cuDoubleComplex(lwkopt,0);
(also - correct me if I'm wrong).

Thansk for help!
Sergey.

Stan Tomov
Posts: 283
Joined: Fri Aug 21, 2009 10:39 pm

Re: Need help compiling magma on windows

Post by Stan Tomov » Mon Oct 03, 2011 12:21 am

Hello,
This routine is not used in this version of MAGMA. I see we accidentally added ztsqrt_gpu.cpp to the release. Please just erase ztsqrt_gpu.cpp, don't include it in any makefiles, and the problem should be fixed.
Regards,
Stan

sergeyn
Posts: 3
Joined: Sun Sep 25, 2011 1:22 pm

Re: Need help compiling magma on windows

Post by sergeyn » Mon Oct 10, 2011 6:26 am

Thanks! I've made it compile for windows with visual studio. Unfortunately the fermi code path does not compile in the release. Is it supposed to work ?

Post Reply