Generalize constraints on MPI rank counts for tests
authorMark Abraham <mark.j.abraham@gmail.com>
Fri, 29 Oct 2021 11:44:45 +0000 (11:44 +0000)
committerAndrey Alekseenko <al42and@gmail.com>
Fri, 29 Oct 2021 11:44:45 +0000 (11:44 +0000)
commitf7883d21c6073ce30fcf7a91c5f8c0cc0a598c74
treeeedf2678f9eec6539b46414917708876c522625d
parentcd9941cd2185866809dfa6c3f953d56bf373b4b7
Generalize constraints on MPI rank counts for tests

When the number of ranks is unsuitable the test is skipped.

In some cases minor changes are made so that useful tests run on wider ranges of rank counts.

Closes #3785
docs/dev-manual/testutils.rst
src/gromacs/domdec/tests/haloexchange_mpi.cpp
src/gromacs/fft/tests/fft_mpi.cpp
src/gromacs/mdrunutility/tests/threadaffinity_mpi.cpp
src/gromacs/utility/tests/CMakeLists.txt
src/gromacs/utility/tests/physicalnodecommunicator_mpi.cpp
src/programs/mdrun/tests/multisimtest.cpp
src/programs/mdrun/tests/pmetest.cpp
src/testutils/include/testutils/mpitest.h
src/testutils/testinit.cpp
src/testutils/tests/mpitest.cpp