Page 1 of 1

LAPACKE, LAPACK, and BLAS x64 libraries are 32-bit

PostPosted: Sat Nov 12, 2016 4:33 pm
by tialis
Hi,

I've been trying to get the LAPACKE libraries working with Visual Studio. After some trial-and-error I checked and it looks like the LAPACKE libraries (along with LAPACK and BLAS) are identical to the 32-bit versions. Is it possible something is wrong with the link? Perhaps I'm missing something. I've checked with the Visual Studio compiler and am getting the expected message:
liblapacke.lib : warning LNK4272: library machine type 'X86' conflicts with target machine type 'x64'


Normally this wouldn't be a problem, but I'm using this with a CUDA application and need to build in x64. Is there some way to resolve? I'll work on getting it to compile from source in the mean time.

Thanks!

Re: LAPACKE, LAPACK, and BLAS x64 libraries are 32-bit

PostPosted: Tue Nov 15, 2016 12:59 am
by admin
Yes indeed, they are 32 bits.
Just regenerate the 64bits library on your 64bit machine.