Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

linking help

rooster55555
Beginner
1,054 Views
Can someone help me with a linking problem I am having... I am running Intel Visual Fortran 64 Compiler Professional Version 11.0.066 on 64 bit Windows Vista. I am somewhat unfamiliar with the Visual Studio, and prefer to comile and run things from a command line. I am attempting to use a subroutine from the MKL LAPACK routines, but I get the following error: error #7002 Error in opening the compiled module file. Check INCLUDE paths.
0 Kudos
3 Replies
Steven_L_Intel1
Employee
1,054 Views

This isn't linking, it's compiling. You didn't say which module (which USE statement) the error was for, so I'm somewhat hampered in offering advice, but my guess is that you're naming an MKL module in a USE statement and either don't have the MKL include folder defined in the INCLUDE environment variable or you have not followed the instructions in the MKL documentation to compile the LAPACK modules.

I am going to move this over to the MKL forum where you can get further advice. I will note that as of version 11.1, the LAPACK modules are precompiled for you.
0 Kudos
rooster55555
Beginner
1,054 Views

This isn't linking, it's compiling. You didn't say which module (which USE statement) the error was for, so I'm somewhat hampered in offering advice, but my guess is that you're naming an MKL module in a USE statement and either don't have the MKL include folder defined in the INCLUDE environment variable or you have not followed the instructions in the MKL documentation to compile the LAPACK modules.

I am going to move this over to the MKL forum where you can get further advice. I will note that as of version 11.1, the LAPACK modules are precompiled for you.
Hi Steve, thanks for your response. The USE statements in the code that produced the problem were
"USE lapack95"and "USE mkl95_precision", and this produced the error. I think you're right that I don't have the include folder defined in the INCLUDE environment variable. I realize this must seem to be a dumb question, but can you tell me how to get the MKL include folder defined in the INCLUDE environment variable?
0 Kudos
Ying_H_Intel
Moderator
1,054 Views
Quoting - rooster55555
Hi Steve, thanks for your response. The USE statements in the code that produced the problem were
"USE lapack95"and "USE mkl95_precision", and this produced the error. I think you're right that I don't have the include folder defined in the INCLUDE environment variable. I realize this must seem to be a dumb question, but can you tell me how to get the MKL include folder defined in the INCLUDE environment variable?

Hi rooster,

Is the samethread ashttp://software.intel.com/en-us/forums/showthread.php?t=69446?

You may add the path of mkl95_presion.modto your project property
rigth click >openProperties> Configuration Properties >Fortran > General >Additional Include Directories

as the screencopy.



Regards,
Ying
0 Kudos
Reply