Here is a quick (and definitively not the cleanest) patch that addresses the MPI_Intercomm issue at the MPI level. It should be applied after removal of 29166.

I also added the corrected test case stressing the corner cases by doing barriers at every inter-comm creation and doing a clean disconnect.

  George.