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

Compiler fails to find mkl library in release mode

rogcar
Beginner
706 Views
Hello there,

After update my fortran compiler, it'sstarted to complain about the use of mkl routines. But it does work in debug mode, and it was compiling before I updated it. I'm using v11.1.051 andwindows vista. By the way, I'm also using Parallel MKL (/Qmkl:parallel). Also, if I compile in the previous version (046),no error is found.

In 051, the following error is shown:

error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MKL95_PRECISION]
error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MKL95_LAPACK]

Notice that I double checked the include paths and it has no error.

Any guess?

Thanks in advance,
Roger
0 Kudos
2 Replies
Steven_L_Intel1
Employee
706 Views
Open Tools > Options > Intel Visual Fortran > Compilers. Click on the ... button next to "Includes". Change:

$(IFortInstallDir)mklinclude

to

$(IFortInstallDir)mklincludeia32

I'm not sure why this isn't done automatically - I'll report this. I suspect that you made this change yourself earlier and forgot about it.
0 Kudos
rogcar
Beginner
706 Views

Thanks, Steve. You are right. I did it before as you said, but I thought that it would not be changed when I updated the compiler.

Thanks again.

0 Kudos
Reply