- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
-llpthread
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.
Thanks
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I did "nm" on all mkl libs and found that defn is present only in libmkl_lapack64.so.
Please try linking this lib with your application.
CP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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".
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page