-mkl –static

Link Error When Static Linking to Intel® MKL on Linux 6


Compiling with “-mkl –static” causes a linker error on Red Hat EL 6.x while the same compilation on RHEL 5.x works correctly. Here are the commands to reproduce the problem:

  • Разработчики
  • Linux*
  • C/C++
  • Fortran
  • Средний
  • Библиотека Intel® Math Kernel Library
  • -mkl –static
  • link error
  • cannot find -lpthread
  • cannot find -lm
  • undefined reference to ‘dgemm’
  • static linking
  • Инструменты для разработки
  • Подписаться на -mkl –static