Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
6981 Discussions

[icpc Warning]: Specifying -lm before files may supersede the Intel(R) math library and affect performance

jia__feilin
Beginner
698 Views

I just notice this warning while compiling my C++ code. My sIntel version is 

compilers_and_libraries_2018.3.222

My compile options from the MKL advisor is in MKL advisor

Then it will say a warning:

Specifying -lm before files may supersede the Intel(R) math library and affect performance

Although it is just a warning, I am not sure whether or not it will harm the performance. Does anyone have the similar problem?

 

 

 

0 Kudos
1 Reply
Gennady_F_Intel
Moderator
698 Views

Do you see the perf problems with your specific code work with / without this mode? 

0 Kudos
Reply