Avoid near-silent generation of zero energies
authorMark Abraham <mark.j.abraham@gmail.com>
Fri, 23 Jan 2015 14:28:01 +0000 (15:28 +0100)
committerMark Abraham <mark.j.abraham@gmail.com>
Mon, 2 Feb 2015 14:48:57 +0000 (15:48 +0100)
commit587c6292500a0424ecff5bd90cd5da475144fa58
tree2ad3e1c15f6d47a98f1632d02fe79dae99315c05
parent3df2b06e2896161e5f501950b6a065e2375559e2
Avoid near-silent generation of zero energies

There is note printed about this case for Verlet+GPU+energy groups,
and this is OK for normal simulations because the decomposition of the
energy into groups is unimportant. However, a user doing such a rerun
is probably seeking the energy decomposition, and in that case getting
zeroes is unexpected behaviour.

Instead, default to not using GPUs with mdrun -rerun -nb auto and more
than one energy group. In that case with mdrun -rerun -nb gpu, give a
fatal error and suggest the probable solutions.

Change-Id: I3006ed3ded31620d4faf4fc4a24cc85e9322c5c2
src/programs/mdrun/md.c
src/programs/mdrun/runner.c