Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Important Update: Community Platform Migration​. Learn more​>

intel mkl---Error LNK2005

tnd
Beginner
2,133 Views
This message has been moved to the Intel Math Kernel Library forum which launched on Dec. 18, 2003.
0 Kudos
2 Replies
Steven_L_Intel1
Employee
2,133 Views
I am not familiar with using MKL, but it sounds as if you have asked to link in two variations of MKL at the same time. I suggest you check the MKL documentation to see which libraries you're supposed to use.

Steve
0 Kudos
kdkeefer
Beginner
2,133 Views
I have used the beta MKL. There are at least three libraries: a static one for C; a static one for Fortran; a DLL for both, I guess; I know nothing about DLL's except their existence and general nature, which already about 10 times more than I desire to know :).
You obviously need to link with the appropriate one. I think the name of the C version ends in (surprise) "_c" and that of the static fortran in "_s".
Keith
(Intentional flame bait provided upon request.)
0 Kudos
Reply