Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I
14 Views

how to compile code link with mkl in windows

Hi friends,

In my windows,I compile the code link with mkl,but it still not work.

>"C:\Program Files (x86)\Intel\Composer XE 2015\bin\compilervars.bat" intel64

>"C:\Program Files (x86)\Intel\Composer XE 2015\mkl\bin\mklvars.bat" intel64

>icl mycode.cpp /Qmkl

.........cannot find fftw3.h.......................

most according to to this page:https://software.intel.com/en-us/articles/intel-mkl-111-getting-started

I used the mkl 11.2

thanks.

0 Kudos
2 Replies
Highlighted
Black Belt
14 Views

You would likely need the -I specification to point to your mkl include folder.

0 Kudos
Highlighted
New Contributor I
14 Views

Tim Prince wrote:

You would likely need the -I specification to point to your mkl include folder.

thanks a lot,I found I should use #include <fftw/fftw3.h> instead of #include<fftw3.h>

actually if run the mklvar.bat the include floder will add to the path,so -I may be not needed?

0 Kudos