Add bonded #thread runtime check
commitc0a90b8bc7f22ba11e46616b2da4c439946e0786
authorBerk Hess <hess@kth.se>
Thu, 8 Dec 2016 11:20:23 +0000 (8 12:20 +0100)
committerBerk Hess <hess@kth.se>
Wed, 14 Dec 2016 13:14:14 +0000 (14 14:14 +0100)
tree782a5638482d49ea56fa4e3662e1056b5a0f1927
parent7952be34e81e90b74a0bc97d6bde92935239b0b5
Add bonded #thread runtime check

Replaced a debug assertion on the number of OpenMP threads not being
larger than GMX_OPENMP_MAX_THREADS by fatal error.
But since the listed forces reduction is actually not required with
listed forces, these are now conditional and mdrun can run with more
than GMX_OPENMP_MAX_THREADS threads.

Fixes #2085.

Change-Id: I7a6049d727924cd0b4df10a3525f9e7aec49c3dc
src/gromacs/listed-forces/listed-forces.cpp
src/gromacs/listed-forces/listed-internal.h
src/gromacs/listed-forces/manage-threading.cpp