Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29273 Discussions

MKL include and lib folders in Visual Studio

csh1
Beginner
417 Views

There's a comment in the 11.0.066 Release Notes

You must manually add the include and lib folders for the Intel Math Kernel Library, if installed, to Visual Studio using the Tools > Options > Intel Fortran > Compilers dialog. For example:

$(IFORT_COMPILER11)mkl\include

Questions:

For the Win32 target platform Libraries definition, I added $(IFortInstallDir)mkl\ia32\lib. For the x64 target platform, the Libraries definitioncurrently includes $(IFortInstallDir)lib\Intel64. Suggesting thatthe corresponding MKL library would bemkl\Intel64\lib. But that folder does not exist. Should I jut use mkl\em64t\lib?

Who sets the IFortInstallDir env var? I notice the same env var is used regardless of the Selected Compiler, yet the example in the Release Notes suggests that the env var used should reflect the compiler version.

0 Kudos
1 Reply
Steven_L_Intel1
Employee
417 Views

Some of our products, such as MKL, are still using "em64t" in their folder names. If so, then use that. The environment variable is set implicitly by the VS integration - you can't see it externally. The path will be the same for all architectures.

0 Kudos
Reply