Towards Transparent Checkpointing with AI-driven Code Generation
Hai Duc Nguyen, Tekin Bicer, Kyle Chard, Ian Foster, Bogdan Nicolae
Abstract
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.
Create a lesson
Metadata
- Journal
- FlexScience'26: The 2026 Workshop on AI and Scientific Computing at Scale using Flexible Computing Infrastructures (in conjunction with HPDC'26)
Related papers
Ossim: OS-Driven Live Simulation for Cluster-Scale Full-Stack Evaluation (Extended Version)
Shared title terminologycs.DCYiliang Wan, Jonas Kaufmann, Yihan Yang et al.
TideCache: Efficient Hybrid LLM Serving with Transparent Cache Management and Layer-Wise Streaming
Shared title terminologycs.DCJinbin Luo, Xiaozhe Yao, Shang Yang et al.
CheckCo: Checkpoint-Coordinated Load Balancing for Skewed Event Streams at Scale
Shared title terminologycs.DCMuhammad Anis Uddin Nasir, Reza Sadraei
The Bipartible Architecture Pattern: Transparently Directing HTTP Requests over InfiniBand
Shared title terminologycs.DCRichard Henwood, John Lockman, Luke Wilson
Beyond Service Discovery: Coverage Awareness in LLM-Driven Service Composition
Shared title terminologycs.DCSepideh Masoudi, Ronja Froelian, Stefan Tai
Can Agentic LLMs Write Task-Based Parallel Code? A Study of OpenMP Tasking, HPX, StarPU and TTG
Shared title terminologycs.DCLinus Bantel, Anna-Lena Roth, Tim Thüring et al.