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/compilervars.sh intel64

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

Clean-up Utility

mpicleanup

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

Syntax

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

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

or

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)

mpiicc

icc

C

64 bit

S’abonner à Bibliothèque Intel® MPI Library