Community
cancel
Showing results for 
Search instead for 
Did you mean: 
84 Views

LAPACK/GETRF: Unresolved external symbol _SGETRF_MKL95@12

Hello,

I can't get around this error.

I reference the MKL95_LAPACK module in one of my FORTRAN routines that calls GETRF. In VS 2005, I set the linker depedencies to: mkl_lapack95.lib mkl_solver_sequential.lib mkl_intel_c.lib mkl_sequential.lib mkl_core.lib.

What am I missing?
Philippe

0 Kudos
4 Replies
TimP
Black Belt
84 Views

I guess you may have CVF compatible linkage (e.g. /iface:cvf) set in your build, while you link libraries which don't work with that option.
mecej4
Black Belt
84 Views

We need to know at least the declarations of the arguments, the modules USEd, and the actual subroutine call in order to diagnose the problem.

If you can provide a small complete example with which one can reproduce the problem, that would be even better.
Vladimir_Koldakov__I
New Contributor III
84 Views

Hello, Philippe,

tim18 is right. mkl_lapack95.lib provides only cdecl interface and you link cdecl interface library mkl_intel_c.lib.

So you should not use CVF compatible option if you call MKL lapack95 routines.

Thanks,

Vladimir

84 Views

That was it !!! Thank you all.
Philippe
Reply