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

error while loading shared libraries: libiomp5.so

Markus_H_
Beginner
256 Views

Hello,

i compiled a programm on my local machine. The programm works fine there.

Now i want to run the programm on my linux server but i get following error:

error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory

I searched for libiomp5.so on my local machine:

/opt/intel/Compiler/composer_xe_2015.0.090/compiler/lib/ia32/libiomp5.so
/opt/intel/Compiler/composer_xe_2015.0.090/compiler/lib/intel64/libiomp5.so
/opt/intel/Compiler/composer_xe_2015.0.090/compiler/lib/mic/libiomp5.so

I created the same directories on my server and copied libiomp5.so to them but i get the same error.

Any help
would be appreciated.

 

0 Kudos
1 Reply
Steven_L_Intel1
Employee
256 Views

Linux uses the environment variable LD_LIBRARY_PATH to find shared objects. You found three different files meant for programs using three different architectures. Your program needs only one of them. See also https://software.intel.com/en-us/articles/redistributables-for-intel-parallel-studio-xe-2015-composer-edition-for-linux

0 Kudos
Reply