Intel® MPI Benchmarks User Guide and Methodology Description
To build the benchmarks for Linux* OS, do the following:
Set the CC variable to point to the appropriate compiler wrapper, mpiicc or mpicc.
Run one or more makefile commands listed below.
Command |
Description |
---|---|
make clean |
Remove legacy binary object files and executable files |
make MPI1 |
Build the executable file for the IMB-MPI1 component. |
make EXT |
Build the executable file for one-sided communications benchmarks. |
make IO |
Build the executable file for I/O benchmarks. |
make NBC |
Build the executable file for IMB-NBC benchmarks. |
make RMA |
Build the executable file for IMB-RMA benchmarks. |
make all |
Build all executable files available. |
To build the benchmarks for Intel® Many Integrated Core Architecture (Intel® MIC Architecture), follow these steps:
Build the Intel MPI Benchmarks for the host system:
host$ source <psxe_install_dir>/bin/psxevars.sh
host$ cd <path to IMB directory>/src
host$ make -f make_ict
Build the Intel MPI Benchmarks for the target system based on the Intel® MIC Architecture.
host$ cd <path to IMB directory>/src
host$ make -f make_ict_mic
For details on running the resulting executable files on the Intel® MIC Architecture, see the Intel® MPI Library documentation.
To build the benchmarks for IMB-MPI1, IMB-IO, IMB-EXT, IMB-NBC, or IMB-RMA, follow these steps:
Check the environment variable settings for Include, Lib, and Path. Make sure they are set in accordance with this table:
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 |
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.
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.
Open the .vcproj or .vcxproj file in Visual Studio*. The executable file for one of the Intel MPI Benchmarks components is created:
From the Solution Platforms drop-down list, choose the required architecture (x64 or Win32).
From the Solution Configurations drop-down list, choose Release.
Highlight the project folder in the Solution Explorer.
Go to Project > Properties to open Configuration Properties dialog box. Make sure you have something like the following settings:
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 |
|
|
Command Arguments |
-n 2 %TargetPath% |
%TargetPath% should be quoted as in: -n 2 %TargetPath% |
C/C++ > General |
||
Additional Include Directories |
|
|
Warning Level |
to Level 1 (/W1) |
|
C/C++ > Preprocessor |
||
Preprocessor Definition |
|
|
Linker > Input |
||
Additional Dependencies |
|
|
Go to Build > Build Solution to create an executable file.
Run the executable file using Debug > Start Without Debugging command.