Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

Linker problems with LD_LIBRARY_PATH

mcass
Beginner
517 Views
Hi
I am haveing trouble getting icc to link the mkl libraries using -LD_LIBRARY_PATH rather than the specific path. With the specific path it all works fine but using -LD_LIBRARY_PATH it complains can't fine -lmkl_lapack etc.
echo $LD_LIBRARY_PATH gives:-
/opt/intel/mkl701/lib/32:/opt/intel/intel_fc_80/lib:/opt/intel/intel_cc_80/lib
Which looks right to me (I source the env vars in bashrc)
and using
-L/opt/intel/mkl701/lib/32 works fine
using
-L/opt/intel/mkl701/lib/32:/opt/intel/intel_fc_80/lib:/opt/intel/intel_cc_80/lib
or -LD_LIBRARY_PATH
Doesn't any suggestions?
0 Kudos
0 Replies
Reply