Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

Linking to MKL under Visual C++ 2005

Charles_S_2
Beginner
397 Views
Hi,

I recently purchased MKL 10.0.1.015 to use on a Windows XP Xeon system using Intel Fortran 10.1.011. In trying to configure the development environment for MS Visual C++ 2005, I followed the Userguide instructions on p. 4-2. When I build my application which uses the fft libraries I get a compile error at the first instance of the Use statement below.


Use MKL_DFTI

The error message is:

Error: Error in opening the compiled module file. Check INCLUDE paths. [MKL_DFTI]

The paths were set as follows according to the Userguide:

Include file:

$(C:Program FilesIntelMKL10.0.1.015)include

Library file:

$(C:Program FilesIntelMKL10.0.1.015ia32)lib

Executable file:

$(C:Program FilesIntelMKL10.0.1.015ia32)bin

The additional dependencies are:

Additional Dependencies mkl_cdft.lib

Please advise as to possible issues.

Thanks,
Charlie
0 Kudos
1 Reply
Charles_S_2
Beginner
397 Views
The problem with linking to the mkl_dtfi module seems to have fixed itself for reasons I don't really understand. I moved the module to the local directory and ran the mklvars32 batch file and the problem went away.

However, another problem has arisen. I now get the errors:

Error: There is no matching specific function for this generic function reference. [DFTICOMPUTEFORWARD]

Error: There is no matching specific function for this generic function reference. [DFTICOMPUTEBACKWARD]

The DftiCreateDescriptor and DftiCommitDescriptor functions seemed to have compiled (no errors)

I've included every library I can think of under additional dependencies:

mkl_cdft.lib
libguide.lib
mkl_c.lib
mkl_intel_lp64.lib
mkl_sequential.lib
mkl_core.lib
mkl_cdft_core.lib

Am I missing something?

Charlie
0 Kudos
Reply