4. Conclusion
Event generation is essential for LHC experimental studies. With Run II currently underway, and the high-luminosity upgrade planned for Run III, an order of magnitude increase in the required computing resources is expected, outpacing the expected growth in Grid capacity. Meanwhile, the trend in leadership computing is toward orders of magnitude larger systems in the coming decade. It is strategic to adapt codes to run on these systems to deliver increased capacity today and to prepare for future systems. This work describes adapting the serial application Alpgen to run as a large-scale parallel application on Mira. By introducing MPI to improve data movement, combining multiple phases of application execution in a single batch job, and utilizing computenode RAM disks to store temporary data, Alpgen scaled to over a million threads.