Search papers, labs, and topics across Lattice.
This study investigates the capability of a large language model (LLM) to autonomously generate checkpoint/restart code for MPI scientific applications, a task traditionally requiring extensive expertise. By employing Anthropic's Claude Opus 4.7 through the OpenCode CLI, the authors benchmarked the LLM's performance across six diverse applications, achieving code generation in an average of 50 minutes with minimal execution overhead. The findings indicate that LLM-generated solutions can match the efficiency of human-engineered implementations, highlighting the potential for AI-driven resilience engineering in high-performance computing (HPC).
LLMs can autonomously generate efficient checkpoint/restart code for complex scientific applications, rivaling human expertise in resilience engineering.
Adding reliable checkpoint/restart support to an MPI scientific application is a time-consuming expert effort that requires deep knowledge of both the application and resilience. We ask whether a frontier large language model can perform this work end-to-end without human intervention. We assemble a benchmark suite of MPI applications spanning diverse domains and computation patterns, and drive an iterative code-generation loop for each application using Anthropic's Claude Opus 4.7 invoked through the OpenCode CLI. Across six scientific applications, the LLM generates working checkpoint/restart code in 50 minutes on average while consuming 3.4 M tokens per application. The generated code adds negligible overhead during normal failure-free execution on five of six applications and recovers from injected process failures with efficiency comparable to human-engineered checkpoint/restart implementations. These results suggest that automated end-to-end LLM-driven resilience engineering is technically viable today for a meaningful fraction of HPC applications.