Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
6739 Discussions

libiomp5.so: undefined reference to `memcpy@GLIBC_2.14'

chao_n_
Beginner
1,867 Views

When I try to compile my code with "icc ... -qopenmp" or "icc ... -mkl", I run into an error "libiomp5.so: undefined reference to `memcpy@GLIBC_2.14". I checked the glibc version with "strings /lib64/libc.so.6 |grep GLIBC", and found that linux system had GLIBC_2.14. How can I solve the problem.

0 Kudos
6 Replies
Gennady_F_Intel
Moderator
1,855 Views

icc --version?  

chao_n_
Beginner
1,837 Views
Gennady_F_Intel
Moderator
1,830 Views

Which version of OS do you run on? Please also check the list of OS supported/validated by MKL here: https://software.intel.com/content/www/us/en/develop/articles/oneapi-math-kernel-library-system-requirements.html


chao_n_
Beginner
1,823 Views

I run it on CentOS Linux release 8.1.1911. C/Fortran OpenMP* Offload seems not to support CentOS. When my code doesn't inculde openMP code, it works well. Does it mean I cannot use -fopenmp or -qopenmp when I compile my code?

Gennady_F_Intel
Moderator
1,818 Views

>>yes, or just use the accepted/validated version of CemtOS ( see System Requirements - CentOS* (latest version) ).



Gennady_F_Intel
Moderator
1,775 Views

The issue is closing and we will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only.


Reply