Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

Static linking with -mkl, -ipp or -tbb may give unresolved references

$
0
0

Reference Number : dpd200252274

Version : Intel® C++ Compiler and Intel® Fortran Compiler versions 13.0.1, 13.1.any, 14.0.0 and 14.0.1

Operating System :  Linux*, OS X*

Problem Description : When an application is linked statically with Intel® MKL using the -mkl switch of the Intel C++ or Fortran Compiler, the MKL libraries occupy the same position on the command line as the -mkl switch itself. If the -mkl switch precedes the user source or object files, this may result in an unresolved reference to an MKL function at link time.

        A similar problem may occur if the Intel® Performance Primitives or Intel® Threading Building Blocks are linked using the -ipp or -tbb switches of the Intel C++ compiler and the switch is placed before the user source or object files.

Resolution Status :  This is a known issue that may be resolved in a future compiler update.

As a temporary workaround, the switches -mkl, -ipp or -tbb should be placed after any user source, object or library files on the command line. Alternatively, the Intel-provided libraries may be linked dynamically instead of statically, e.g. by replacing -static-intel with -shared-intel.

 

  • MKL
  • static link
  • erratum
  • software defect
  • Apple Mac OS X*
  • Linux*
  • C/C++
  • Fortran
  • Intel® C++ Compiler
  • Intel® C++ Composer XE
  • Intel® Composer XE
  • Intel® Fortran Compiler
  • Intel® Fortran Composer XE
  • Intel® Integrated Performance Primitives
  • Intel® Math Kernel Library
  • Módulos Intel® de subprocesamiento
  • Intel® C++ Studio XE
  • Intel® Fortran Studio XE
  • Intel® Parallel Studio XE
  • Dirección URL

  • Viewing all articles
    Browse latest Browse all 1616

    Trending Articles



    <script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>