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:
(SDK only) Compile and link your application
Set up Hydra service
Select network fabric or device
Run your MPI program
Figure 1: Flowchart representing the usage model for working with the Intel® MPI Library.
2.2. Before You Begin
1. Before using the Intel® MPI Library, ensure that the library, scripts, and utility applications are installed. See the Intel® MPI Library for Windows* OS Installation Guide for installation instructions.
2. For getting proper environment settings, use the following commands from the Start menu:
Start >
Programs >
Intel(R) Software Development Products>
Intel(R) MPI Library 5.0>
Build Environment for the Intel® 64>
Build Environment
Alternatively, you can open a new console (cmd) window and run the following BAT file from the command line:
<install_dir>\intel64\bin\mpivars.bat
5