MPIDiff is a C++ library for pairing a correct version of an executable with a version that may have bugs or race conditions in it. The correct version checks that the data communicated from the other program matches its own and reports any differences.