Developer Guide

Developer Guide for Intel® oneAPI Math Kernel Library Windows*

ID 766692
Date 12/16/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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 theIntel® oneAPI Math Kernel Library (oneMKL) 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 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.