Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

No such file or directory

perya
Beginner
600 Views
I know this may sound stupid but i got a problem =) You may heard this a thousand times but here i go again: I downloaded and installed succesfully ( in Default dir ): | Download Intel Math Kernel Libraries for engineering, | scientific & financial applications___version 8.0.1 Everything was going great till I tried to compile a Fortran program and i had trouble but managed to compile it succesfully after half an hour! Now, I tried to execute that program "./ddot_1_mkl" and got a message somethin that he can't open shared file libmkl.so:No such file or directory. But the funny thing is that it exists where i specified in my program ( path ). "Funny!", i sead. So i checked on this forum and saw that i have to check LD_LIBRARY_PATH in mklvars32.sh so i checked and there it was "EXPORT LD_LIBRARY_PATH=/opt/intel/mkl/8.0.1/lib/32:$LD_LIBRARY_PATH" so it is pointing corectly, i even executed mklvars32.sh and tried again but with no succes. Please tell me what i have to do!
0 Kudos
1 Reply
TimP
Honored Contributor III
600 Views
If you are depending on mklvars.sh to set LD_LIBRARY_PATH, you must execute that script before attempting to run a dynamic linked binary. Personally, I would find it more convenient to add the stuff from mklvars.sh to ifortvars.sh, so as to require only one script to set both MKL and ifort library path. People I work with generally use static linked MKL, so this problem does not arise.
0 Kudos
Reply