13.07.2015 Views

Intel(R) - Computational and Systems Biology at MIT

Intel(R) - Computational and Systems Biology at MIT

Intel(R) - Computational and Systems Biology at MIT

SHOW MORE
SHOW LESS

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

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

Working with <strong>Intel</strong>® M<strong>at</strong>hKernel Library Cluster9SoftwareThis chapter discusses usage of <strong>Intel</strong>® MKL ScaLAPACK <strong>and</strong> Cluster FFTs, mainlydescribing linking your applic<strong>at</strong>ion with these domains <strong>and</strong> including C- <strong>and</strong> Fortran-specificlinking examples; gives inform<strong>at</strong>ion on the supported MPI.See Table 3-7 for detailed <strong>Intel</strong> MKL directory structure in chapter 3.For inform<strong>at</strong>ion on the available document<strong>at</strong>ion <strong>and</strong> the doc directory, see Table 3-8 in thesame chapter.For inform<strong>at</strong>ion on MP LINPACK Benchmark for Clusters, see section <strong>Intel</strong>® Optimized MPLINPACK Benchmark for Clusters in chapter 10.<strong>Intel</strong> MKL ScaLAPACK <strong>and</strong> FFTs support MPICH-1.2.x <strong>and</strong> <strong>Intel</strong>® MPI.To link a program th<strong>at</strong> calls ScaLAPACK, you need to know how to link an MPI applic<strong>at</strong>ionfirst.Typically, this involves using mpi scripts mpicc or mpif77 (C or FORTRAN 77 scripts) th<strong>at</strong>use the correct MPI header files <strong>and</strong> others. If, for instance, you are using MPICH installedin /opt/mpich, then typically /opt/mpich/bin/mpicc <strong>and</strong> /opt/mpich/bin/mpif77 willbe the compiler scripts <strong>and</strong> /opt/mpich/lib/libmpich.a will be the library used for th<strong>at</strong>install<strong>at</strong>ion.Linking with ScaLAPACK <strong>and</strong> Cluster FFTsTo link to ScaLAPACK <strong>and</strong>/or Cluster FFTs in <strong>Intel</strong> MKL, use the following general form: \-L \ \where is one of several MPI implement<strong>at</strong>ions (MPICH, <strong>Intel</strong> MPI 1.x, <strong>Intel</strong> MPI 2.x,<strong>Intel</strong> MPI 3.x)9-1

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

Saved successfully!

Ooh no, something went wrong!