Intel® C++ Compiler 16.0 User and Reference Guide

Including MPI Support

By default, when your project uses the Intel® C++ compiler, the Platform Toolset property is set to use the Intel® compiler, together with the build environment, including paths, libraries, include files, etc., of the toolset specific to the version of Visual Studio you are using.

If you select a version of MPI that is not installed, you will get build errors.

To specify the type of MPI support you want:

  1. Open the project's property pages and select Configuration Properties > Intel Performance Libraries.
  2. Set the property Use Intel MKL to Cluster.
  3. Set the property Use MPI Library to one of the following values:
    • Intel® MPI
    • MPICH2
    • MS MPI
  4. Build the project.

The next time you build your project with the Intel® C++ compiler, it will include support for the version of MPI that you specified.