Compiler Commands
The following table lists the available Intel® MPI Library compiler commands with their underlying compilers and programming languages.
Compiler Command
| Default Compiler
| Supported Languages
|
---|---|---|
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 on Compiler Commands
- 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 Intel® MPI Library System Requirements.
- To display mini-help of a compiler command, execute it without any parameters.
- Compiler wrapper scripts are located in the<directory, whereinstall-dir>/bin<is the Intel MPI Library installation directory.install-dir>
- The environment settings can be established by sourcing the<script. To use a specific library configuration, pass one of the following arguments to the script to switch to the corresponding configuration:install-dir>/env/vars.[c]shreleaseordebug.
- Ensure that the corresponding underlying compiler is already in yourPATH. If you use Intel® compilers, source thevars.shscript from the installation directory to set up the compiler environment.