Compilation Commands

The following table lists the available Intel® MPI Library compiler commands with their underlying compilers and programming languages.

Intel® MPI Library Compiler Wrappers

Compiler Command

Underlying Compiler

Supported Language(s)

Common Compilers

mpicc.bat

cl.exe

C

mpicxx.bat

cl.exe

C++

mpifc.bat

ifort.exe

Fortran 77/Fortran 95

Microsoft* Visual C++* Compilers

mpicl.bat

cl.exe

C/C++

Intel® Fortran, C++ Compilers

mpiicc.bat

icl.exe

C

mpiicpc.bat

icl.exe

C++

mpiifort.bat

ifort.exe

Fortran 77/Fortran 95

NOTES:

  • Compiler commands are available only in the Intel® MPI Library Software Development Kit (SDK).

  • For the supported versions of the listed compilers, refer to the Release Notes.

  • Compiler wrapper scripts are located in the <installdir>\intel64\bin directory.

  • The environment settings can be established by running the <installdir>\intel64\bin\mpivars.bat script. If you need to use a specific library configuration, you can pass one of the following arguments to the mpivars.bat script to switch to the corresponding configuration:  release or debug . The ordinary multi-threaded optimized library is chosen by default .Alternatively, you can use the I_MPI_LIBRARY_KIND environment variable to specify a configuration and source the script without arguments.

  • Ensure that the corresponding underlying compiler is already in your PATH. If you use the Intel® Compilers, run the compilervars.bat script from the installation directory to set up the compiler environment.

  • To display mini-help of a compiler command, execute it without any parameters.

For more complete information about compiler optimizations, see our Optimization Notice.
Select sticky button color: 
Orange (only for download buttons)