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 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 theRelease Notes.
- Compiler wrapper scripts are located in thedirectory, where<install-dir>/binis the Intel® MPI Library installation directory.<install-dir>
- The environment settings can be established by sourcing the<install-dir>/env/vars.[c]shscript. 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, ordebug_mt.The ordinary multi-threaded optimized library is chosen by default. Alternatively, you can use theI_MPI_LIBRARY_KINDenvironment variable to specify a configuration and source the script without arguments.
- Ensure that the corresponding underlying compiler is already in yourPATH. If you use the Intel® compilers, source thevars.shscript from the installation directory to set up the compiler environment.
- To display mini-help of a compiler command, execute it without any parameters.