Quantcast
Channel: Intel® Fortran Compiler
Viewing all articles
Browse latest Browse all 3270

error loading libiomp5.so

$
0
0

Hi

I get the following error when I try to compile with the '-parallel' flag:

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

As requested in some forum discussions, I checked:

LD_LIBRARY_PATH=/opt/intel/compilers_and_libraries_2016.1.150/linux/compiler/lib/intel64:/opt/intel/compilers_and_libraries_2016.1.150/linux/mpi/intel64/lib:/opt/intel/compilers_and_libraries_2016.1.150/linux/mpi/mic/lib:/opt/intel/compilers_and_libraries_2016.1.150/linux/ipp/lib/intel64:/opt/intel/compilers_and_libraries_2016.1.150/linux/compiler/lib/intel64:/opt/intel/compilers_and_libraries_2016.1.150/linux/mkl/lib/intel64:/opt/intel/compilers_and_libraries_2016.1.150/linux/tbb/lib/intel64/gcc4.4:/opt/intel/debugger_2016/libipt/intel64/lib:/opt/intel/compilers_and_libraries_2016.1.150/linux/daal/lib/intel64_lin:/opt/intel/compilers_and_libraries_2016.1.150/linux/daal/../tbb/lib/intel64_lin/gcc4.4:/opt/intel/compilers_and_libraries_2016.1.150/linux/daal/../compiler/lib/intel64_lin

Also, a check on the linked libs gives the correct path, and the file exists there:

$ ldd <executable>
	linux-vdso.so.1 =>  (0x00007ffdb61a9000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fe9de805000)
	libiomp5.so => /opt/intel/compilers_and_libraries_2016.1.150/linux/compiler/lib/intel64/libiomp5.so (0x00007fe9de4c3000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fe9de2a5000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe9ddee0000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fe9ddcca000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fe9ddac6000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fe9deb0b000)

A check on the executable and the lib file gives:

$ file <executable><executable>: ELF 64-bit LSB  executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=e26b6f0875d1709c83a190d5bc00d4f447c2836d, not stripped

$ file /opt/intel/compilers_and_libraries_2016.1.150/linux/compiler/lib/intel64/libiomp5.so
/opt/intel/compilers_and_libraries_2016.1.150/linux/compiler/lib/intel64/libiomp5.so: ELF 64-bit LSB  shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped

I don't see anything wrong. Could someone tell me what I might be doing wrong?

Thanks!


Viewing all articles
Browse latest Browse all 3270

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>