added MPI_RUN define for distinguish between mpi and non-mpi version