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.
链接已复制
2 回复数
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.