Download Intel(R) MKL User's Guide
Transcript
Intel® Math Kernel Library User’s Guide Chapter 4 Configuring Your Development Environment Automating Setting of Environment Variables ............................. 4-1 Configuring the Eclipse* IDE CDT to Link with Intel MKL ................. 4-2 Configuring the Eclipse* IDE CDT 4.0 ........................................ 4-2 Configuring the Eclipse* IDE CDT 3.x ........................................ 4-3 Configuring the Out-of-Core (OOC) DSS/PARDISO* Solver ............... 4-4 Chapter 5 Linking Your Application with the Intel® Math Kernel Library Listing Libraries on a Link Line ..................................................... 5-2 Selecting Libraries to Link............................................................ 5-3 Linking with Fortran 95 Interface Libraries ................................. 5-3 Linking with Threading Libraries ............................................... 5-3 Linking with Computational Libraries ......................................... 5-4 Linking with Compiler Support RTLs .......................................... 5-6 Linking with System Libraries ................................................... 5-7 Linking Examples ................................................................... 5-7 Building Custom Shared Objects................................................. 5-10 Intel MKL Custom Shared Object Builder.................................. 5-10 Specifying Makefile Parameters .............................................. 5-10 Specifying a List of Functions ................................................. 5-11 Chapter 6 Managing Performance and Memory Using the Intel® MKL Parallelism .................................................. 6-1 Techniques to Set the Number of Threads .................................. 6-3 Avoiding Conflicts in the Execution Environment ......................... 6-3 Setting the Number of Threads Using OpenMP* Environment Variable .............................................................................. 6-5 Changing the Number of Threads at Run Time............................ 6-5 Using Additional Threading Control ........................................... 6-8 Dispatching Intel® Advanced Vector Extensions (Intel® AVX) ........ 6-13 Tips and Techniques to Improve Performance ............................... 6-14 Coding Techniques................................................................ 6-14 Hardware Configuration Tips .................................................. 6-15 Managing Multi-core Performance ........................................... 6-16 Operating on Denormals........................................................ 6-17 v