13.07.2015 Views

Intel(R) Math Kernel Library for Linux* OS User's Guide

Intel(R) Math Kernel Library for Linux* OS User's Guide

Intel(R) Math Kernel Library for Linux* OS User's Guide

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

9 <strong>Intel</strong>® <strong>Math</strong> <strong>Kernel</strong> <strong>Library</strong> User’s <strong>Guide</strong> is one of ScaLAPACK or Cluster FFT libraries <strong>for</strong> theappropriate architecture, which are listed in Table 3-6, Table 3-7, or Table 3-8. Forexample, <strong>for</strong> IA-32 architecture, it is one of -lmkl_scalapack_core or-lmkl_cdft_core. is the BLACS library corresponding to your architecture, programminginterface (LP64 or ILP64), and MPI version. These libraries are listed in Table 3-6,Table 3-7, or Table 3-8. For example, <strong>for</strong> the IA-32 architecture, choose one of-lmkl_blacs, -lmkl_blacs_intelmpi, or -lmkl_blacs_openmpi, depending onthe MPI version you use; in particular, <strong>for</strong> <strong>Intel</strong> MPI 3.x, choose-lmkl_blacs_intelmpi. is <strong>for</strong>ScaLAPACK, and <strong>for</strong> Cluster FFTs. are processor optimized kernels, threading library, andsystem library <strong>for</strong> threading support, linked as described in section Listing Libraries ona Link Line. are the LAPACK library and .grouping symbols -Wl,--start-group and -Wl,--end-group are required <strong>for</strong> staticlinking. corresponds to the MPI version. For instance, <strong>for</strong> <strong>Intel</strong> MPI3.x, use .For example, if you are using <strong>Intel</strong> MPI 3.x and want to statically use the LP64 interfacewith ScaLAPACK and have only one MPI process per core (and thus do not employthreading), specify the following linker options:-L$MKLPATH -I$MKLINCLUDE -Wl,--start-group$MKLPATH/libmkl_scalapack_lp64.a $MKLPATH/libmkl_blacs_intelmpi_lp64.a$MKLPATH/libmkl_intel_lp64.a $MKLPATH/libmkl_sequential.a$MKLPATH/libmkl_core.a -static_mpi -Wl,--end-group -lpthread –lmFor more examples, see Examples <strong>for</strong> Linking with ScaLAPACK and Cluster FFT.TIP. Use the Web-based Linking Advisor to quickly choose theappropriate set of , , and .For in<strong>for</strong>mation on linking with <strong>Intel</strong>® MKL libraries, see Linking Your Application with the<strong>Intel</strong>® <strong>Math</strong> <strong>Kernel</strong> <strong>Library</strong>.9-2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!