Community
cancel
Showing results for 
Search instead for 
Did you mean: 
fujia
Beginner
31 Views

problem with linking MKL

I want to use MKL library in Linux OS. First I set environment variable as exportLD_LIBRARY_PATH=/opt/intel/mkl/10.2.2.025/lib/em64t:$LD_LIBRARY_PATH.
Then, complie the program:
mpif90-omain.exeexample.F90-L/opt/intel/mkl/10.2.2.025/lib/em64t-I/opt/intel/mkl/10.2.2.025/include/-lmkl_scalapack_lp64-lmkl_blacs_intelmpi_lp64-lmkl_lapack-lmkl_intel_lp64-lmkl_intel_thread-lmkl_core-liomp5-lpthread
There is no error when compling.
When I run the program, it says:
main.exe:errorwhileloadingsharedlibraries:libmkl_scalapack_lp64.so:cannotopensharedobjectfile:Nosuchfileordirectory
I don/t know why, I strictly accord to the user's Guideof "Intel Math Kernel Library for Linux OS"(March 2009), I was completely confused and have been stumbled here for more than two weeks. Who can help me? Thanks very much!
0 Kudos
2 Replies
31 Views


Could you please refer the Intel MKL link line advisor?
31 Views

Sorry for not mentioning the url for the link line advisor.

http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/

Please also run the the mklvarsem64t.sh which will automatically set the environments for you. The script is available is tool\environment folder.

--Vipin
Reply