Developer Reference

  • 2020
  • 09/11/2020
  • Public Content

Compiler 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
Default Compiler
Supported Language(s)
Generic Compilers
mpicc
gcc, cc
C
mpicxx
g++
C/C++
mpifc
gfortran
Fortran77*/Fortran 95*
GNU* Compilers
mpigcc
gcc
C
mpigxx
g++
C/C++
mpif77
g77
Fortran 77
mpif90
gfortran
Fortran 95
Intel® Fortran, C++ Compilers
mpiicc
icc
C
mpiicpc
icpc
C++
mpiifort
ifort
Fortran77/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
    <install-dir>
    /bin
    directory, where
    <install-dir>
    is the Intel® MPI Library installation directory.
  • The environment settings can be established by sourcing the
    <
    install-dir
    >/env/vars.[c]sh
    script. To use a specific library configuration, pass one of the following arguments to the script to switch to the corresponding configuration:
    release
    ,
    debug
    ,
    release_mt
    , or
    debug_mt
    .
    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, source the
    vars.sh
    script from the installation directory to set up the compiler environment.
  • To display mini-help of a compiler command, execute it without any parameters.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804