Multi-rank thread affinity tests
authorTeemu Murtola <teemu.murtola@gmail.com>
Sun, 15 May 2016 07:23:14 +0000 (10:23 +0300)
committerMark Abraham <mark.j.abraham@gmail.com>
Thu, 9 Feb 2017 21:29:17 +0000 (22:29 +0100)
commitd609d53df471fd8633ae578c906d8594c886e790
tree6951c87853d0cc23dea804f0fd717d0549745cd5
parent5406d3308754e54133860cee3a28ce18e7a1df66
Multi-rank thread affinity tests

Add tests for setting the thread affinity on multiple MPI ranks,
including various heterogeneous run setups where thread affinity setting
fails only on a subset of the nodes.

Allow simulating multi-node environments, including heterogeneous nodes,
with both MPI flavors.

Change-Id: I69628d8e3d8f2d87cd40f8393da4b251ce1cba94
src/gromacs/mdrunutility/tests/CMakeLists.txt
src/gromacs/mdrunutility/tests/threadaffinity-mpi.cpp [new file with mode: 0644]
src/gromacs/mdrunutility/tests/threadaffinitytest.cpp
src/gromacs/mdrunutility/tests/threadaffinitytest.h
src/gromacs/mdrunutility/threadaffinity.cpp
src/gromacs/mdrunutility/threadaffinity.h