MPI code.  Untested, but need to move to a machine where debugging is possible
Fixing a deadlock spotted via code inspection and adding some debugging code.  Not yet actually run