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

Post here if you have a question about linking your program with LAPACK or ScaLAPACK library

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

Postby tialis » Sat Nov 12, 2016 4:33 pm

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!
tialis
 
Posts: 1
Joined: Sat Nov 12, 2016 4:27 pm

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

Postby admin » Tue Nov 15, 2016 12:59 am

Yes indeed, they are 32 bits.
Just regenerate the 64bits library on your 64bit machine.
admin
Site Admin
 
Posts: 608
Joined: Wed Dec 08, 2004 7:07 pm


Return to Linking Problem

Who is online

Users browsing this forum: No registered users and 1 guest

cron