Print stdout of mpi example.