Get started with the Intel MPI Library for Linux OS, including prerequisites, building and running MPI programs, and troubleshooting.
The Intel MPI Library for Linux OS is a multi-fabric message passing library that implements the MPI-3.1 specification for developing applications that run on multiple cluster interconnects. It is available as a standalone product and as part of the Intel oneAPI HPC Toolkit.
Before use, source setvars.sh, create a hostfile, and establish passwordless SSH among cluster nodes. The guide then shows how to compile with a compiler driver such as mpiicc, run programs with mpirun, and troubleshoot common issues.
| MPI specification conformance | MPI-1, MPI-2.2 and MPI-3.1 |
|---|---|
| Scalability | up to 340k processes |
| Supported languages (GNU compilers) | C, C++, Fortran 77, Fortran 95 |
| Supported languages (Intel compilers) | C, C++, Fortran 77, Fortran 90, Fortran 95, Fortran 2008 |
Source setvars.sh, create a hostfile listing cluster nodes, and establish passwordless SSH among all nodes.
Use mpirun with the number of processes, processes per node, and hostfile, for example mpirun -n 2 -ppn 1 -f ./hostfile ./myprog.
Set the environment variable I_MPI_DEBUG=6.