Building Intel® MPI Benchmarks on Windows* OS

To build the benchmarks for IMB-MPI1, IMB-IO, IMB-EXT, IMB-NBC, or IMB-RMA, follow these steps:

  1. Check the environment variable settings for Include, Lib, and Path. Make sure they are set in accordance with this table:

  2. Intel® 64 Architecture Settings

    IA-32 Architecture Settings

    %I_MPI_ROOT%\intel64\include

    %I_MPI_ROOT%\intel64\lib

    %I_MPI_ROOT%\intel64\bin

    %I_MPI_ROOT%\ia32\include

    %I_MPI_ROOT%\ia32\lib

    %I_MPI_ROOT%\ia32\bin

    NOTE:

    Intel® MPI Library 5.0 does not support the IA-32 architecture. Use an earlier version of Intel MPI Library to build IA-32 architecture benchmarks.

  3. Go to the subfolder that corresponds to the Intel® MPI Benchmarks component you would like to build and the Microsoft* Visual Studio* version installed on your system. For example, to build IMB-EXT.exe with the Visual* Studio* 2010, go to IMB-EXT_VS_2010.

  4. Open the .vcproj or .vcxproj file in Visual Studio*. The executable file for one of the Intel MPI Benchmarks components is created:

  5. From the Solution Platforms drop-down list, choose the required architecture (x64 or Win32).

  6. From the Solution Configurations drop-down list, choose Release.

  7. Highlight the project folder in the Solution Explorer.

  8. Go to Project > Properties to open Configuration Properties dialog box. Make sure you have something like the following settings:

  9. Setting

    Value

    Notes

    General > Project Defaults

    Character Set

    Use Multi-Byte Character Set

     

    Debugging

    Debugger to launch

    Local Windows Debugger

    Depending on your system configuration, you may select other debuggers.

    Command

    • x64: $(I_MPI_ROOT)\intel64\bin\mpiexec.exe
    • IA-32:$(I_MPI_ROOT)\ia32\bin\mpiexec.exe

     

    Command Arguments

    -n 2 $(TargetPath)

    $(TargetPath) should be quoted as in: -n 2 $(TargetPath)

    C/C++ > General

    Additional Include Directories

    • x64: $(I_MPI_ROOT)\intel64\include
    • IA-32:$(I_MPI_ROOT)\ia32\include
     

    Warning Level

    to Level 1 (/W1)

     

    C/C++ > Preprocessor

    Preprocessor Definition

    • IMB-EXT: WIN_IMB, _CRT_SECURE_NO_DEPRECATE, EXT
    • IMB-IO: WIN_IMB, _CRT_SECURE_NO_DEPRECATE, MPIIO
    • IMB-MPI1: WIN_IMB, _CRT_SECURE_NO_DEPRECATE, MPI1
    • IMB-NBC: WIN_IMB, _CRT_SECURE_NO_DEPRECATE, NBC
    • IMB-RMA: WIN_IMB, _CRT_SECURE_NO_DEPRECATE, RMA
     

    Linker > Input

    Additional Dependencies

    • x64: $(I_MPI_ROOT)\intel64\lib\impi.lib
    • IA-32: $(I_MPI_ROOT)\ia32\lib\impi.lib

     

  10. Go to Build > Build Solution to create an executable file.

  11. Run the executable file using Debug > Start Without Debugging command.

Submit feedback on this help topic