MKL functions

MKL functions

The calls to dgetri & dgetrf, two functions in the MKL library are going unheeded. I keep getting an error something like "undefined refernce to dgetri_". I am lnking the following libraries.

Heres a sample of the code from the makefile

LIBS = -L$(LIB_PATH) -lmkl_lapack32 -lmkl_p4 -lmkl_def

ifc -o myprog $(OBJECT_FILES) $(LIBS)

I checked the calls and made sure it complies with what is there in the MKL reference manual.

Am I linking the Lapack library wrong? Does evaluation version of MKL contain all the function mentioned in the MKL refernce Manual?

Any help is appreciated.

4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Thanks I got it. I did have the proper directories in the search path. I removed all the libraies i had linked to before and just put in "-lmkl_lapack" & "-lmkl_ia32".

I did "nm" on all mkl libs and found that defn is present only in
Please try linking this lib with your application.


I expect the original poster was running 32-bit linux, and so switching to ia64 mkl wouldn't help. He didn't show whether the mkl library directory was on his library search path. Normally, mkl expects basic knowledge about such things, as it doesn't set itself up automatically.

Leave a Comment

Please sign in to add a comment. Not a member? Join today