Building Intel® MPI Benchmarks

Linux* OS

To build the benchmarks for Linux* OS, do the following:

  1. Set up the environment for the compiler and Intel® MPI Library.

    For the Intel® compilers, run:

    source <compiler-dir>/bin/compilervars.sh intel64

    For the Intel® MPI Library, run:

    source <intel-mpidir>/bin/mpivars.sh

  2. Set the CC variable to point to the appropriate compiler wrapper, mpiicc or mpicc.

  3. Run one or more Makefile commands listed below.

Command

Description

make clean

Remove legacy binary object files and executable files.

make IMB-MPI1

Build the executable file for the IMB-MPI1 component.

make IMB-EXT

Build the executable file for one-sided communications benchmarks.

make IMB-IO

Build the executable file for I/O benchmarks.

make IMB-NBC

Build the executable file for IMB-NBC benchmarks.

make IMB-RMA

Build the executable file for IMB-RMA benchmarks.

make all

Build all executable files available.

Windows* OS

To build the benchmarks, use the enclosed Microsoft Visual Studio* solution files located in version-specific subdirectories under the imb/WINDOWS directory.

In Visual Studio, press F7 or go to Build > Build Solution to create an executable.

See Also

Running Intel® MPI Benchmarks