Gromacs  2023.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions
mpitest.h File Reference
#include "config.h"
#include <functional>
#include <string>
#include <type_traits>
+ Include dependency graph for mpitest.h:

Description

Helper functions for MPI tests to make thread-MPI look like real MPI.

Author
Teemu Murtola teemu.nosp@m..mur.nosp@m.tola@.nosp@m.gmai.nosp@m.l.com

Macros

#define GMX_MPI_TEST_INNER
 Implementation of MPI test runner for thread-MPI. More...
 
#define GMX_MPI_TEST(RankRequirement)
 Declares that this test is an MPI-enabled unit test and expresses the conditions under which it can run. More...
 

Functions

int gmx::test::getNumberOfTestMpiRanks ()
 Returns the number of MPI ranks to use for an MPI test. More...
 

Macro Definition Documentation

#define GMX_MPI_TEST_INNER

Implementation of MPI test runner for thread-MPI.

See documentation GMX_MPI_TEST