Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29282 Discussions

Getting the path of the used libraries

dnoack
Beginner
548 Views
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
0 Kudos
1 Reply
TimP
Honored Contributor III
548 Views
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.
0 Kudos
Reply