initial mpi support (boilerplate only, no real parallelization)