The following table lists the available Intel® MPI Library compiler commands with their underlying compilers and programming languages.
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 | gfortran | 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.