This sample first executes a sequence of buffered send operations with exactly that buffer size that is required by the MPI standard. Then it repeats the same sequence using a buffer that it is just one byte too small.
In one case, a large message is sent with a buffer that is way too small, but even that happens to work in practice if the MPI implementation decides to bypass the buffer.
Linux*:
Ensure that the corresponding compiler, Intel® MPI Library, and Intel® Trace Analyzer and Collector are already in your PATH
, and complete these steps:
Build the sample:
$ make
Run the sample:
$ make run
Review the output.
Ensure that the corresponding compilers, Microsoft* Visual Studio*, Intel® MPI Library, and Intel® Trace Analyzer and Collector are already in your PATH
, and complete these steps:
Build the sample:
> build.bat release
Run the sample:
> build.bat run
Review the output.