- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
when I compile and link a program with libraries without the -L option using only e.g.
ifort ... -llapack ...
I wonder which lapack library is used by default. Is there a compiler-option available, that outputs the full path of the used libraries? In LD_LIBRARY_PATH there is no lapack available.
Regards,
dnoack
when I compile and link a program with libraries without the -L option using only e.g.
ifort ... -llapack ...
I wonder which lapack library is used by default. Is there a compiler-option available, that outputs the full path of the used libraries? In LD_LIBRARY_PATH there is no lapack available.
Regards,
dnoack
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You're correct, there is no separate liblapack in MKL, so that library is likely to come from your OS installation, and is likely to be intended for gfortran. You could set ifort -# option to see a full echo of what happens at link time, or use ldd to see which .so libraries your executable uses.

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