Fix excessive list splitting
commitf7c18fba349729f99e30f22567679c541a61c1df
authorBerk Hess <hess@kth.se>
Thu, 18 Feb 2016 07:52:32 +0000 (18 08:52 +0100)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Fri, 19 Feb 2016 08:32:10 +0000 (19 09:32 +0100)
treece2571cb43c5d1efad82e0eb0f0ed1e3d3d66e08
parent461fadc668e69e6bc12e1dfb8bd8a6b8af349143
Fix excessive list splitting

Due to a possible integer overflow, the pair list splitting code could
end up over-splitting pair lists and causing large performance
degradation. Due to the larger processor count, runs using AMD GPUs,
using 100k+ simulation systems are more prone to suffer from the issue.

Fixes #1904

Change-Id: I29139ec80aa75c78fa93de0858f7c60cdae88d5b
src/gromacs/mdlib/nbnxn_search.c