gmx enemat segment faults - Redmine #2508
According to https://mailman-1.sys.kth.se/pipermail/gromacs.org_gmx-users/2018-May/120400.html it seems that gmx enemat is not robust to being supplied an energy file that does not have energygrps. It should give a graceful message that it can’t do its job with such input.
(from redmine: issue id 2508, created on 2018-05-21 by mark.j.abraham, closed on 2018-06-05)
- Changesets:
- Revision f76f70fb by Mark Abraham on 2018-06-05T12:32:21Z:
Fixed enemat when .edr had no matching energy groups
Removed some debug output that obscured both the code and the useful
user-facing warnings.
Used a simpler bool construct to decide whether to issue the warning.
Fixes #2508
Change-Id: Ife56264991e365f8f5ca3b1285caea8033da7584