Copy from mpi server. Tested version.