- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I installed the mkl linux version package but now I want to know how can I use the libraries from the makefile in fortran?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - beblo33yahoo.com
I installed the mkl linux version package but now I want to know how can I use the libraries from the makefile in fortran?
what (exactly) do you mean? Linking your application with MKL using makefile on Linux? The following commands are needed to link and include (linker can find the libraries)
-L
MKL path usually something like /opt/intel/mkl/10.0.xxx/lib/
then you list required libraries, say,
-lmkl_solver_lp64, .....
I believe a clear explanation you'll find in user's guide (chapter 5 - Linking Your Application with Intel Math Kernel Library)
an example from there:
static linking of user code myprog.f, parallel version of sparse solver, and parallel Intel MKL supporting LP64 interface.
ifort myprog.f -L$MKLPATH -I$MKLINCLUDE -lmkl_solver_lp64_sequential.a
-Wl,--start-group $MKLPATH/libmkl_intel_lp64.a $MKLPATH/libmkl_sequential.a
$MKLPATH/libmkl_core.a -Wl,--end-group -lpthread
A.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - beblo33yahoo.com
I installed the mkl linux version package but now I want to know how can I use the libraries from the makefile in fortran?

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