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

MKL warning from linker

Andrew_Smith
Valued Contributor I
970 Views

Since installingIVF version 10.1.0.24 I get:

1>Linking...

1>ipo: warning #11023: file format not recognized for mkl_c_dll.lib

Iam linking against MKL version 10.0.3.021 (latest release)

Can I ignore this warning since it appears to complete the link OK?

Andy

0 Kudos
7 Replies
Steven_L_Intel1
Employee
970 Views
I'd be surprised if this was new with 10.1.024 unless you also updated MKL at the same time. Are you also seeing IMSL? We've seen this problem for customers who have both IMSL and MKL 10 due to a strangeness in the way the MKL 10 mkl_c.lib was built. One solution is to rearrange the order of library directories searched so that IMSL's comes first.
0 Kudos
Andrew_Smith
Valued Contributor I
970 Views
Yes I am also using IMSL.
I tried your suggestion and put imsl_dll.lib first in the link list but the warning for MKL is still issued.
Can I ignore it, what does it mean?

Andy

0 Kudos
Steven_L_Intel1
Employee
970 Views
That's not what I meant - I meant to change the order in Tools > Options > Intel Fortran ? Compilers ? Library Files so that the IMSL folder was listed before the MKL folder.

If your application is working, you can ignore it. The linker is pulling in the version of that library from the MKL directories, and that one is a "redirector stub" replaced by mkl_intel_c_dll.lib. Unfortunately, the way it was built causes it to be not understood by xilink, the Intel "pre-linker" which handles the IPO feature.
0 Kudos
klaus_knebel
Beginner
970 Views
Hi
I just updated to 10.1.024 too.
I get the same linker warning :
ipo: warning #11023: file format not recognized for mkl_c.lib
I do NOT use IMSL.
I guess I can ignore this warning ?
Klaus
0 Kudos
Steven_L_Intel1
Employee
970 Views
You can ignore the warning.
0 Kudos
tlahydrema_com
Beginner
970 Views
I'm using IVF 10.1.025 and IMKL 10.0.4 and im getting both

1>ipo: warning #11023: file format not recognized for mkl_c.lib

and

1>ipo: warning #11023: file format not recognized for mkl_lapack.lib

everytime I compile my project. There must be some solution to this problem? (instead of just ignore the warnings)

I just changed fra Compaq til Intel, so I expect it is some settings, which is wrong. Any ideas?

0 Kudos
TimP
Honored Contributor III
970 Views

1>ipo: warning #11023: file format not recognized for mkl_c.lib

and

1>ipo: warning #11023: file format not recognized for mkl_lapack.lib

The usual reason for the error is that you tried to mix targets; e.g. you might have used ifort for Xeon and attempted to link the libraries for Itanium.

If you continue to have problems, read the docs closely, and consult the MKL forum. It's easy to get confused between the overlapping backward compatibility MKL link scripts such as mkl_lapack and the real libraries.

0 Kudos
Reply