- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi,
I have recently compiled a large program with the intel fortran compiler v8. The program links to libraries in the intelmkl package(v6.1). The program seems to compile fine but when I run it I receive an error of the type;
programpath/programbinary: error while loading shared libraries: libmkl_p4.so: cannot open shared object file: No such file or directory
From reading previous postings I suspect that this may be to do with my linux setup and LD_LIBRARY_PATH.However I am very new toLinux and don'treally know how to alter / add tothis. Any help wouldbe greatly appreciated.
Many Thanks
Andy
コピーされたリンク
2 返答(返信)
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Yes, your are right. You need to update (add mkl lib path to) your LD_LIBRARY_PATH env variable as -
export LD_LIBRARY_PATH=/opt/intel/mkl61/lib/32/:$LD_LIBRARY_PATH
MKL lib path could be different in your case.
use ldd "exec_file_name" to varify that this lib is in path now.
HTH,
cp
export LD_LIBRARY_PATH=/opt/intel/mkl61/lib/32/:$LD_LIBRARY_PATH
MKL lib path could be different in your case.
use ldd "exec_file_name" to varify that this lib is in path now.
HTH,
cp
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Many Thanks and a Happy New Year- Now Works.