fixed mpi problem in mc/test/reduce