Clarify distinct paths for mdrun log file handling
authorMark Abraham <mark.j.abraham@gmail.com>
Tue, 25 Sep 2018 11:48:22 +0000 (13:48 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Wed, 26 Sep 2018 19:12:53 +0000 (21:12 +0200)
commit31f817da96cbaf05597740125ffc6d4481722bb1
tree7d02f7930448613e66f8a1f1dbdac1fac8073582
parentb49a93ecace8c2cdffca532a8596fc7ffcabf1ec
Clarify distinct paths for mdrun log file handling

Opening for appending is actually handled in the checkpointing code,
which is now explicit in mdrunner.

Also handled the error case when the log file cannot be opened.

Also removed unnecessary dependency on commrec.

Refs #2651

Change-Id: I0b8c7756a08c3d786571e7936e7f8f327fd17947
src/gromacs/mdrun/logging.cpp
src/gromacs/mdrun/logging.h
src/gromacs/mdrun/runner.cpp
src/programs/mdrun/mdrun.cpp