mdrun-test -ntmpi 2 deadlock in calculateForces in density fitting
Only one rank ends up in calculateForces in the density fitting code, which causes the test to hang.
I don't know if this is due to a bug in the setup of the test or in the density fitting code.
Fix densityfitting stalling and energies
Density guided simulations would stall when there were no atoms on a
node. Further, the energy contributions were added for every
participating node, resulting in wrong energies.
Both issues are fixed with this patch.