Intel® IPP for Linux* - Using the dispatcher library in Linux*

The Intel® IPP for Linux* shared libraries dispatch optimized code for the various families of Intel® microprocessors.     At run time, the shared libraries will detect the system processor and automatically load the correct processor-specific libraries. For example, when using default installation settings, the shared libraries are installed to the directories /opt/intel/composer_xe_2015.1.133/ipp/lib/ia32  and  /opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 correspondingly for IA32 or Intel64 bits directories (*).

Before using the Intel® IPP shared libraries, you need to add the path to the libraries to the system variable LD_LIBRARY_PATH by either using the shell script or manually setting the environment.

  • Use the Intel IPP shell script to set the required environment variables for shared library dispatching and building code samples:
    • Open a Terminal.
    • Navigate to the Intel IPPROOT/bin  directory.
      • Type source   or ippvars.ksh  scripts to set all necessarily environments.
      • in the case if customer requires to use only 32 or 64 bit settings, then the follow specific scripts are recommended to use:
        • IPPROOT/bin/ia32/ or ippvars_ia32.ksh cripts  dedicated for Intel® 32 processors
        • IPPROOT/bin/intel64/ or ippvars_intel64.ksh cripts  dedicated for Intel® 64 processors
  • Manually set the environment variable:
    • Open a Terminal.
    • If the libraries are in the /opt/intel/composer_xe_2015/ipp/lib/ia32 folder, and then type export LD_LIBRARY_PATH=/opt/intel/composer_xe_2015/ipp/lib/ia32 :$LD_LIBRARY_PATH

(*) for this case -  path to the Intel(R) Composer 2015 has been used. Customer has to select the specific version of composer he has installed on your system.

Operating System:

For more complete information about compiler optimizations, see our Optimization Notice.