MPI 04.00 Reference >> mpiPlatform
void mpiPlatformAssertSet(void (MPI_DEF2 *func) (const char *file, int32_t line));
Required Header: stdmpi.h
Change History: Modified in the 03.04.00
mpiPlatformAssertSet sets an assertion handling function to be used by the MPI library.
When an assertion occurs, the filename and line number where that assertion happened will be passed to the assertion handling function. If no assertion handling function is set, information about the assertion will be reported to stdout and the C function, exit() will be called with an argument of 1.
An MPI library assertion should never occur. If it does, please contact MEI's technical support.
NOTE: mpiPlatformAssertSet is only fully implemented for Windows operating systems.
|func||a pointer to the assertion handling function.|