Energy-optimal configuration selection for manycore chips with variation. (September 2017)