-mpi code