Failure Masking and Local Recovery for Stencil-based Applications at Extreme Scales.