changes for Sherpa with mpi support
changes for Sherpa with mpi support