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

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

Diego_B_
Beginner
628 Views

hallo!

I'm completely new with Fortran, and I have some problem...

I have a makefile with a makeconfig.mk that contain the calls of the library,

it compile correctly but when I lunch the executible file the error in the title come out.

That file exist in the installation folder of fortran (I have the xe 2013.2.146) but it seems that the program can't read the folder where it is

here there's someone who could help me?

0 Kudos
1 Reply
Ron_Green
Moderator
628 Views

when you run the code, you need LD_LIBRARY_PATH env var to point to the directory with the Intel runtime libraries.

source /opt/intel/bin/compilervars.sh intel64

sets this.  you can put this in your ~/.bashrc file to make it automatic when you login.

ron

0 Kudos
Reply