Intel® MPI Benchmarks 4.0
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 |
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.
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.