- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Dear all,
I want to run a subroutine written in FORTRAN within an engineering software package. The compilation went well but apparently a shared library is missing as I have this error message:
error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory
I am using a Linux OS.
Any help would be appreciated.
Pierre
Link kopiert
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
source /opt/intel/bin/compilervars.sh intel64
will add the library path to LD_LIBRARY_PATH.
If running where the shared library isn't present, you may install the redistributable library package, or take other remedies such as copying the library over and adding it yourself to LD_LIBRARY_PATH, or linking libiomp5.a (in your final link, preferably not when making a .so).
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Thanks a lot for your answer. Actually, I can locate the shared library libiomp5.so under the Intel directory but the compiler cannot find it on its own. Do you know how to add the library to LD_LIBRARY_PATH?
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
export LD_LIBRARY_PATH=/opt/intel/composer_xe_2011_sp1.7.256/compiler/lib/intel64:$LD_LIBRARY_PATH
(use the path where you found it)
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
$ export LD_LIBRARY_PATH=
Note the colon separating the components of LD_LIBRARY_PATH
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
I issued exactly this command in the terminal:
$export LD_LIBRARY_PATH=home/tph201/intel/Compiler/11.0/081/lib/intel64:$LD_LIBRARY_PATH
and the Bash replied:
LD_LIBRARY_PATH=home/tph201/intel/Compiler/11.0/081/lib/intel64:: No such file or directory
I have double-checked that the path is correct. Should I try to re-install Intel compiler?
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
There should be a slash character ('/') preceding home.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Thanks a lot Tim and Mecej for your patience. I managed to export the LD_LIBRARY_PATH as followed this steps:
me:~$ /home/tph201/intel/Compiler/11.0/081/lib/intel64
bash: /home/tph201/intel/Compiler/11.0/081/lib/intel64: is a directory
me:~$ export LD_LIBRARY_PATH=/home/tph201/intel/Compiler/11.0/081/lib/intel64
me:~$ echo $LD_LIBRARY_PATH
bash: /home/tph201/intel/Compiler/11.0/081/lib/intel64
But the shared library is still missing when I run the code afterwards. I will try to reinstall ifort.
Cheers,
Pierre
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
assuming you have installed the latest Intel Composer XE 2011 Update 8. Could you please verify that libiomp5.so is present in
Also, after sourcing the environment like this (as described in an earlier post)
source
$LD_LIBRARY_PATH
This has to be set every time you're executing your application (or you install the library to a system wide library directory).
Best regards,
Georg Zitzlsberger
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
same kind of error while running the matrix multiplication for mic ...sample code from vtune amplifier.
and my bashrc
export PATH=/opt/intel/composer_xe_2013.0.079/bin/intel64_mic/:$PATH
export INCLUDE=/opt/intel/composer_xe_2013.0.079/compiler/include/mic/:$INCLUDE
export LD_LIBRARY_PATH=/opt/intel/composer_xe_2013.0.079/compiler/lib/mic/:$LD_LIBRARY_PATH
export PATH=/opt/intel/impi/4.1.0.018/mic/bin/:$PATH
export INCLUDE=/opt/intel/impi/4.1.0.018/mic/include/:$INCLUDE
export LD_LIBRARY_PATH=/opt/intel/impi/4.1.0.018/mic/lib/:$LD_LIBRARY_PATH
./matrix.mic: error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
just copy that libiomp5.so file to mic card
scp libiomp5.so username@mic0:/tmp
and then run that executable.
Thank you
kiran sonavane.
- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite