User`s guide

7
2. Using the Intel® MPI Library
This section describes the basic Intel® MPI Library usage model and demonstrates typical usages
of the Intel® MPI Library.
2.1. Usage Model
Using the Intel® MPI Library involves the following steps:
Figure 1: Flowchart representing the usage model for working with the Intel® MPI Library.
2.2. Before You Begin
Before using the Intel® MPI Library, ensure that the library, scripts, and utility applications are
installed. See the product Intel® MPI Library for Linux* OS Installation Guide for installation
instructions.
2.3. Quick Start
To start using the Intel® MPI Library:
1. Source the mpivars.[c]sh script to establish the proper environment settings for the Intel®
MPI Library. It is located in the <installdir>/<arch>/bin directory, where <installdir>
refers to the Intel MPI Library installation directory (for example, /opt/intel/impi) and
<arch> is one of the following architectures:
intel64 - Intel® 64 architecture binaries.
mic Intel® Many Integrated Core Architecture
2. Create a hostfile text file that lists the nodes in the cluster using one host name per line.