libm

Putting -lm Before User Objects/Libraries on Link Line Can Impact Performance

Recommended linking model: icc/icpc/ifort [user objs] [user libs] [sys libs] Using -lm (the GNU math library) prior to user-created objects or libraries causes the GNU libm to be used instead of the Intel math library, impacting performance.
  • Linux*
  • C/C++
  • Fortran
  • Compilateur Intel® C++
  • Compilateur Intel® Fortran
  • math
  • library
  • performance
  • static
  • libm
  • libimf
  • GNU
  • -lm
  • Optimisation
  • S’abonner à libm