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...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Working with the <strong>Intel</strong>®<strong>Math</strong> <strong>Kernel</strong> <strong>Library</strong> Cluster9SoftwareThis chapter discusses the usage of the <strong>Intel</strong>® <strong>Math</strong> <strong>Kernel</strong> <strong>Library</strong> (<strong>Intel</strong>® MKL)ScaLAPACK and Cluster FFTs.See Chapter 3 <strong>for</strong> details about the <strong>Intel</strong> MKL directory structure, including the availabledocumentation in the doc directory.For in<strong>for</strong>mation on MP LINPACK Benchmark <strong>for</strong> Clusters, see Chapter 11.<strong>Intel</strong> MKL ScaLAPACK and Cluster FFTs support MPI implementations identified in the <strong>Intel</strong>MKL Release Notes.Linking with ScaLAPACK and Cluster FFTsTo link a program that calls ScaLAPACK and/or Cluster FFTs, you need to know how to linka message-passing interface (MPI) application first.Use mpi scripts to do this. For example, mpicc and mpif77 are C and FORTRAN 77scripts,respectively, that use the correct MPI header files. The location of these scripts and the MPIlibrary depends on your MPI implementation. For example, <strong>for</strong> the default installation ofMPICH, /opt/mpich/bin/mpicc and /opt/mpich/bin/mpif77 are the compiler scriptsand /opt/mpich/lib/libmpich.a is the MPI library.Check the documentation that comes with your MPI implementation <strong>for</strong>implementation-specific details of linking.To link with the <strong>Intel</strong> MKL ScaLAPACK and/or Cluster FFTs, use the following general <strong>for</strong>m: \-L [-Wl,--start-group] \ [-Wl,--end-group]where: is one of several MPI implementations (MPICH, <strong>Intel</strong> MPI 2.x/3.x, and so on).9-1

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

Saved successfully!

Ooh no, something went wrong!