Fix bug in (long) neighborlist SIMD padding when adding to previous list
authorErik Lindahl <erik@kth.se>
Tue, 24 Sep 2013 22:28:29 +0000 (00:28 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Wed, 25 Sep 2013 17:40:11 +0000 (19:40 +0200)
commit5c5516933bca283382d830350b0501a74750b360
tree609111462335ede9ae186c8df01c46a1148c48d4
parent94e69be7bf0d3f6bbf1d8e247f1e566b6149e780
Fix bug in (long) neighborlist SIMD padding when adding to previous list

Gromacs-4.6 introduced SIMD padding in the neighborlists, which works
fine for normal simulations. However, when the neighborlist gets long
and we end up adding a second batch of particles we need to remove the
previous padding, which was not done until now. This will typically only
occur when the list per node is large, e.g. when using long cutoffs
(>2nm) with only a single core. Normal simulations should not have been
affected by it (which is also why we did not find it until now).

Fixes #1341.

Change-Id: Ie64ab6c0313a8dc0d3545a5e7d610f24adae4438
src/mdlib/ns.c