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

Line Link for MKL Interface with Intel Fortran on Visual Studio, x64

bearhill
Beginner
482 Views
Hi,

I am new to this forum.

I have Intel Core2 Duo running Windows x64 with Microsoft Visual Studio 2005. I also have Visual Studio 2008. I have successfully linked to the Intel Math Kernel Library (10.2.6.037) in Visual Studio 2005 in the Win32 configuration by following the help file suggestion:
1. Select Project > Properties > Linker > General > Additional Library Directories.
Add the architecture-specific lib folder,
for example, \\lib\\ia32.
2. Select Project > Properties > Linker > Input > Additional Dependencies. Insert
mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib

What is the correct set of steps to link to MKL using with x64 configuration?

Thanks.
0 Kudos
2 Replies
bearhill
Beginner
482 Views
Hi again,

After some more searching on the Knowledge Base, I have now have the line link that works for x64 for me. As a correlary to what I am using on Win32, the following works for me on x64:

1. Select Project > Properties > Linker > General > Additional Library Directories.
Add the architecture-specific lib folder,
C:\Program Files\Intel\MKL\10.2.6.037\em64t\lib
2. Select Project > Properties > Linker > Input > Additional Dependencies. Insert
mkl_intel_lp64.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib

Thanks, and sorry for any inconvenience.
0 Kudos
Steven_L_Intel1
Employee
482 Views
Welcome to the forum, and I'm glad to hear that you found a solution. If you need help with MKL in the future, please visit our MKL forum. There you will also see a link to the MKL Link Line Advisor which may be helpful to you.
0 Kudos
Reply