Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
6590 Discussions

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

jia__feilin
Beginner
230 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
230 Views

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

Reply