64bits Lapack routines on mac

64bits Lapack routines on mac


The other day was the first time I use a lapack routines (from the mkl library) on a macbook pro with mac osx 10.8 . I linked the library for 64 bits, but I got this warning form the compiler:

ld: warning: ignoring file /opt/intel/mkl/lib/libmkl_lapack95.a, file was built for archive which is not the architecture being linked (x86_64)

My question is: Is there a 64bits version of the Lapack routines?

4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Whether or not prebuilt Lapack-95 libraries are included with MKL depends on the version of MKL and/or Intel compiler(s) you have installed.

Please state the versions that you have, and show the command used to attempt linking the program.

I would also recommend you check out the Link Line Advisor first to make sure you haven't forgotten anything, and then show us the command you used.


Sorry guys: I have realised that I was linking with $(MKLROOT)/lib/libmkl_lapack95 rather than $(MKLROOT)/lib/libmkl_lapack95_lp64. Sometimes I get confused because I mix up the makefiles from linux and mac os x machines. 

Thank you for the link. I have also seen that They recommend to use the compiler option -mkl=parallel , and I thought that parallel version of mkl was set by default.

Thank you the time!

Leave a Comment

Please sign in to add a comment. Not a member? Join today