Compiling SuiteSparse (UMFPACK) with Intel MKL BLAS/LAPACK (Linux)

Compiling SuiteSparse (UMFPACK) with Intel MKL BLAS/LAPACK (Linux)


I am trying to compile the newest version of SuiteSparse linked with the newest Intel MKL. However I get unresolved external errors pointing to BLAS functions (all BLAS functions required by SS). How should I modify make file  SuiteSparse_config/ to use Intel libs? I have tried (in my knowing) everything and still there problem occurs, and I am unable to investigate it.This is where I am stuck at:

    BLAS = -L/opt/intel/mkl/lib/intel64 -lmkl_core -lmkl_intel_lp64 -static -lmkl_blas95_lp64
    LAPACK = -L/opt/intel/mkl/lib/intel64 -lmkl_core -lmkl_intel_lp64 -static -lmkl_lapack95_lp64

However still it brings me no closer to the solution. Somehow I feel that the problem might be in using static libs. How do I link them correctly?

Without BLAS library compiles just fine.

I'll be grateful for any suggestions.



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

For MKL static link, if you wish to enumerate the libraries, you should refer to the MKL link advisor which should be available thorugh a reference in your docs directory as well as online.  Among other things, you would need to add a reference to mkl thread  or sequential library.

If you still have problems after checking docs, you will need to show specific error messages here.

Leave a Comment

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