Download Intel(R) Math Kernel Library for Linux* OS User's Guide
Transcript
4 Intel® Math Kernel Library for Linux* OS User's Guide Linking with Computational Libraries If you are not using the Intel(R) Math Kernel Library (Intel(R) MKL) cluster software, you need to link your application with only one computational library: • libmkl_core.a in case of static linking • libmkl_core.so in case of dynamic linking ScaLAPACK and Cluster FFT require more computational libraries. The following table lists computational libraries that you must list on the link line for these function domains. Function domain 1 ScaLAPACK IA-32 Architecture, Static Linking IA-32 Architecture, Dynamic Linking Intel(R) 64 Architecture, Static Linking Intel(R) 64 Architecture, Dynamic Linking libmkl_scalapack_core.a libmkl_scalapack_core. so See below See below libmkl_scalapack_lp64.a libmkl_scalapack_lp64.so libmkl_core.a libmkl_core.so libmkl_scalapack_ilp64. a libmkl_scalapack_ilp64. so libmkl_core.a libmkl_core.so libmkl_core.a libmkl_core.so 2 ScaLAPACK, LP64 1 interface n/a n/a ScaLAPACK, ILP64 1 interface n/a Cluster Fourier Transform 1 Functions libmkl_cdft_core.a libmkl_cdft_core.so libmkl_cdft_core.a libmkl_cdft_core.so libmkl_core.a libmkl_core.so libmkl_core.a libmkl_core.so n/a 1 Add also the library with BLACS routines corresponding to the used MPI. For details, see Linking with ScaLAPACK and Cluster FFTs. 2 Not applicable. See Also • • Linking with ScaLAPACK and Cluster FFTs Using the Web-based Linking Advisor Linking with Compiler Support RTLs You are strongly encouraged to dynamically link in the compatibility OpenMP* run-time library libiomp. Link with libiomp dynamically even if other libraries are linked statically. Linking to static OpenMP* run-time library is not recommended because it is very easy with complex software to link in more than one copy of the library. This causes performance problems (too many threads) and may cause correctness problems if more than one copy is initialized. 38