- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I newly installed Intel MKl on my system. I ran the script for setting the environment variables. I used the link advisor and it suggested me this
-L/opt/intel/composerxe-2011.1.107/mkl/lib/intel64/ -Wl,--start-group -lmkl_intel_ilp64 -lmkl_gnu_thread -lmkl_core -Wl,--end-group -fopenmp -lpthread
The program is compiling but when I'm executing the program its giving me this error
./a.out: error while loading shared libraries: libmkl_intel_ilp64.so: cannot open shared object file: No such file or directory
Can anyone please help me.
Regards,
M.Kiran Kumar.
I newly installed Intel MKl on my system. I ran the script for setting the environment variables. I used the link advisor and it suggested me this
-L/opt/intel/composerxe-2011.1.107/mkl/lib/intel64/ -Wl,--start-group -lmkl_intel_ilp64 -lmkl_gnu_thread -lmkl_core -Wl,--end-group -fopenmp -lpthread
The program is compiling but when I'm executing the program its giving me this error
./a.out: error while loading shared libraries: libmkl_intel_ilp64.so: cannot open shared object file: No such file or directory
Can anyone please help me.
Regards,
M.Kiran Kumar.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi M.Kiran Kumar,
You must set LD_LIBRARY_PATH so as to include your MKL *.so directory in the executionenvironment.
--Gennady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you meant to link the static .a libraries, rather than the dynamic ones, you must follow the examples and specify the .a libraries explicitly. When linking the dynamic libraries, there is no use in specifying the -start-group -end-group options.
The LD_LIBRARY_PATH setting for dynamic libraries is included when you source the compilervars or mklvars settings in your installation.
The LD_LIBRARY_PATH setting for dynamic libraries is included when you source the compilervars or mklvars settings in your installation.

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