Mmm1dgpu: move mpi.h dependents into a separate cpp file not compiled using nvcc.

This solves the issue that nvcc does not find mpi.h.