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

Intel Fortran 2013 compiler Link Error happened

dingjun_chencmgl_ca
733 Views

Hi, Dear Sir or Madam,

I just installed Intel Composer XE 2013 SP1.0.103 (Fortran and C/C++) for Windows on my computer and built my Fortran application. The following link error happened. Please tell me how to fix it.

Thanks in advance.

Dingjun

dir imex.exe > imex.exe &&  del /f imex.exe &&  ifort.exe /Qauto /cm /nologo /w /MT  /Qopenmp /4Yportlib *.obj mkl_solver_lp64.lib mkl_intel_lp64.lib mkl_intel_thread.lib mkl_core.lib Wsock32. lib User32.lib shell32.lib Advapi32.lib Gdi32.lib    libsecure.lib rlmclient.lib  binarrayfile.lib  /link /LARGEADDRESSAWARE /incremental:no /EXPECTEDOUTPUTSIZE:75000000 /STACK:10000000 /out:imex.exe &&  mt.exe -manifest ReqExecLevelInvoker.manifest -outputresource:imex.exe;1 &&  echo 'Done.' ipo: error #11018: Cannot open mkl_solver_lp64.lib LINK : fatal error LNK1181: cannot open input file 'mkl_solver_lp64.lib' *** Error code 1181 clearmake: Error: Build script failed for "imex.exe"

 

 

 

0 Kudos
2 Replies
Steven_L_Intel1
Employee
733 Views

The problem is that the MKL libraries are not included in the definition of the LIB environment variable. This would happen automatically if you used the compiler-provided shortcut to start the command prompt environment or if you did a "call" of the appropriate compilervars.bat script from the environment. You're using a build tool we didn't provide, so I am not sure how you started the build session.

0 Kudos
danielgr
Beginner
733 Views

Had the same problem when updating from Intel Composer XE 2011.

In my case, it seems that the newer version of the mkl libraries do not have the mkl_solver_lp64.lib library anymore.

You should be able to remove that one under Linker\Input and that should do it. Don't worry though, I keep using mkl solvers (PARDISO in my case) and it seems to have no problem finding the required components despite the fact that the above mentioned library is not there anymore.

Good luck !

0 Kudos
Reply