Optimization of Molecular Dynamics Simulations from a High Performance Computing Viewpoint