Working mpi. Tested for 2, 3 and 4 processes. 
Sometimes some mysterious error show up.