We describe a software library for dynamic load balancing of finite element codes. The application code has to provide the
current distributed mesh and information on the calculation and communication requirements, and receives from the library
all necessary information to re-allocate the application data. The library computes a new partitioning, either via direct
mesh migration or via parallel graph re-partitioning, by interfacing to the ParMetis or Jostle package. We describe the functionality
of the DRAMA library and we present some results.