Gromacs
2018.8
|
#include "config.h"
#include <functional>
#include <type_traits>
#include "gromacs/utility/basenetwork.h"
Helper functions for MPI tests to make thread-MPI look like real MPI.
Macros | |
#define | GMX_MPI_TEST(expectedRankCount) ASSERT_EQ(expectedRankCount, ::gmx::test::getNumberOfTestMpiRanks()) |
Declares that this test is an MPI-enabled unit test. More... | |
Functions | |
int | gmx::test::getNumberOfTestMpiRanks () |
Returns the number of MPI ranks to use for an MPI test. More... | |
bool | gmx::test::threadMpiTestRunner (std::function< void()> testBody) |
Helper function for GMX_MPI_TEST(). | |