An existing autonomic framework (MAWeS) can be used to provide run-time self-optimization for distributed applications. This
paper introduces a new MAWeS Component that provides an interface for MPI applications. As case study, we will present the
implementation of a dynamically-reconfigurable n-body solver, evaluating its obtained performance with and without the MAWeS framework under several different working load conditions.