preliminary MPI support
fixed MPI wait bug
file write support
Merge pull request #2 from jwalanta/mpi

preliminary MPI support