finish MPI train