Sunway TaihuLight: Designing and Tuning Scientific Applications at the Scale of 10-Million Cores