Halo exchange unit test for pre-existing CPU codepath
commit3e0e974e161f0ab1145aa403bbca356a8fa663c9
authorAlan Gray <alangray3@gmail.com>
Mon, 19 Oct 2020 11:46:37 +0000 (19 11:46 +0000)
committerPaul Bauer <paul.bauer.q@gmail.com>
Mon, 19 Oct 2020 11:46:37 +0000 (19 11:46 +0000)
treebeef754e82c1e700671eb8951595e3a711fcf6a9
parentdf5950b991ae124297930fc5c4c16b0b44d98fe1
Halo exchange unit test for pre-existing CPU codepath

The test sets up a 2D rank topology and performs a coordinate halo
exchange (using the pre-existing CPU codepath), with 2 pulses in
the first dimension and 1 pulse in the second. Each pulse involves
a few non-contiguous indices. The sending rank, atom number and
spatial 3D index are encoded in the x values, to allow correctness
checking following the halo exchange. Follow-up will port to GPU codepath.
src/gromacs/domdec/tests/CMakeLists.txt
src/gromacs/domdec/tests/haloexchange_mpi.cpp [new file with mode: 0644]