added files for the mpi version