MPI fixes (output only on root node).
MPI: non-root processes now lock main rec-file in shared mode at first read.
Merge branch 'bleeding-jumbo' into memdbg

* bleeding-jumbo:
  MPI: non-root processes now lock main rec-file in shared mode at first read.
  MPI fixes (output only on root node).