Elastic Resource Management for High Performance Computing