where is the mkl_lapacke.h file?

where is the mkl_lapacke.h file?

I try to make this (http://software.intel.com/sites/products/documentation/hpc/mkl/lapack/mkl_lapack_examples/lapacke_dgesvd_col.c.htm) example working. I am using the Intel Compiler in Version 11.1 but just can't find this file!Therefore- where can I get the mkl_lapacke.h file- how to compile the example above (I am aware of the linking advisor)Thanks in advance.

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

The mkl_lapacke.h header is for the C interface to LAPACK. That was added in Intel MKL 10.3 which is a part of the Intel Composer XE 2011 product introduced latelast year. I'm afraid that's why you're not finding it it in version 11.1. I'd encourage you to take a look at the latest version, but if notyou'll need to modify this example to call the Fortran interface. To that end the User Guide might help. See the following section:

Language-specific Usage Option
-> Mixed-language Programming with the Intel Math Kernel Library
----> Calling LAPACK, BLAS, and CBLAS Routines from C/C++ Language Environments

The prebuilt lapack_e library was not available until MKL 10.3 was released, but if you do not mind taking the trouble to build it yourself (which should take just a few minutes), the source code is available on Netlib:


through the benevolence of Intel.

Note, in addition, that it is not enough to obtain the header file, which is needed at compile time; you also need the library available at link time.

I installed the Composer XE 2011 (2011.2.137), but there is still no mkl_lapacke.h file!!!

Nevermind, I found it.

Leave a Comment

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