Fix illegal memory access in PME communication
authorBerk Hess <hess@kth.se>
Wed, 22 Jan 2020 10:53:24 +0000 (11:53 +0100)
committerBerk Hess <hess@kth.se>
Wed, 22 Jan 2020 10:55:20 +0000 (11:55 +0100)
commit2ea07ac1b7b63be2f3d8342ef25c2bb89c4750b2
tree742a54123578752926651b6d0e12e8175921c325
parentda05c565dc332d861742c5e07816407bfd0897b4
Fix illegal memory access in PME communication

Depending on the compiler, mdrun could exit with an illegal
memory access error when a PME rank communicates 0 atoms with
another PME rank.

Change-Id: Ic1a08903f53c3d0b655ed5475ad99024979b461e
src/gromacs/ewald/pme_redistribute.cpp