Math Kernel Library Developer Guide

Message-Passing Interface Support

Intel® oneAPI Math Kernel Library ScaLAPACK, Cluster FFT, and Cluster Sparse Solver support implementations of the message-passing interface (MPI) identified in the Release Notes.

To link applications with ScaLAPACK, Cluster FFT, or Cluster Sparse Solver, you need to configure your system depending on your message-passing interface (MPI) implementation as explained below.

If you are using MPICH2, do the following:

  1. Add mpich2\include to the include path (assuming the default MPICH2 installation).
  2. Add mpich2\lib to the library path.
  3. Add mpi.lib to your link command.
  4. Add fmpich2.lib to your Fortran link command.
  5. Add cxx.lib to your Release target link command and cxxd.lib to your Debug target link command for C++ programs.

Note

MPICH2 is deprecated and will be removed from a future release of the product.

If you are using the Microsoft MPI, do the following:

  1. Add Microsoft Compute Cluster Pack\include to the include path (assuming the default installation of the Microsoft MPI).
  2. Add Microsoft Compute Cluster Pack\Lib\AMD64 to the library path.
  3. Add msmpi.lib to your link command.

If you are using the Intel® MPI, do the following:

  1. Add the following string to the include path: %ProgramFiles%\Intel\MPI\<ver>\intel64\include, where <ver> is the directory for a particular MPI version, for example, %ProgramFiles%\Intel\MPI\5.1\intel64\include.
  2. Add the following string to the library path: %ProgramFiles%\Intel\MPI\<ver>\intel64\lib, for example, %ProgramFiles%\Intel\MPI\5.1\intel64\lib.
  3. Add impi.lib and impicxx.lib to your link command.

Check the documentation that comes with your MPI implementation for implementation-specific details of linking.