added debugging to Rmpi problems