Optimization and Scalability of an Large-scale Earthquake Simulation Application