Bibliothèque Intel® MPI Library

Running an MPI Program

The easiest way to run an MPI program is using the mpirun command:

  $ mpirun -n <# of processes> ./myprog

This command invokes the mpiexec.hydra command which uses the Hydra Process Manager by default. Use the mpiexec.hydra options on the mpirun command line.

Parallelnavi NQS*

If you use Parallelnavi NQS* job scheduler and the $ENVIRONMENT, $QSUB_REQID, $QSUB_NODEINF options are set, the $QSUB_NODEINF file is used as a machine file for mpirun. Also –r plesh is used as remote shell by the process manager during startup.

Building an MPI Application

To build an MPI application for the host node and the Intel® Xeon Phi™ coprocessor, follow these steps:

  1. Establish the environment settings for the compiler and for the Intel® MPI Library:

    $ . <install-dir>/compilers_and_libraries/linux/bin/ intel64

    $ . <install-dir>/compilers_and_libraries/linux/mpi/intel64/bin/

Clean-up Utility


Clean up the environment after an abnormally terminated MPI run under the mpiexec.hydra process manager.


mpicleanup [ -i <input_file> | -t -f <hostsfile> ] [ -r <rshcmd> ] \

[ -b <branch_count> ] [-p] [-s | -d] [-h] [-V]


Compiler Commands

The following table lists available MPI compiler commands and Intel® Composer XE 2013 for Linux* OS for Intel® MIC Architecture, languages, and application binary interfaces (ABIs) that they support.

Compiler Command

Default Compiler

Supported Language(s)

Supported ABI(s)




64 bit

S’abonner à Bibliothèque Intel® MPI Library