changes for Sherpa with MPI