Exploring the Role of LLMs in HPC Programming: A Survey
Abstract
Large Language Models (LLMs) are emerging as promising assistants in High-Performance Computing (HPC), where programming remains complex and expertise-intensive. This survey systematically reviews their application across five categories: code generation, parallelization and optimization, frameworks and architectures, evaluation and benchmarking, and broader challenges. The analysis highlights both opportunities and limitations: while general-purpose LLMs perform reasonably well on serial and OpenMP-like tasks, they fall short in distributed paradigms such as MPI, where correctness and scalability are critical. Domain-specialized models (e.g., HPC-Coder, HPC-GPT, chatHPC) achieve higher accuracy through fine-tuning, curated datasets, and retrieval-augmented generation (RAG), yet their scope remains narrow and their evaluations largely limited to benchmarks or micro-kernels. The broader picture is one of dual potential and fragility: LLMs can lower barriers to entry, accelerate prototyping, and support code modernization, but they remain brittle under production-level requirements where correctness, performance portability, and scaling cannot be compromised. We conclude that LLMs are unlikely to replace HPC experts in the near term but are positioned to become powerful collaborators in the software development pipeline. Their effective deployment will require richer datasets, integration with performance analysis and schedulers, rigorous evaluation frameworks, and governance structures that ensure transparency and trust. The convergence of AI and HPC should therefore be understood as a long-term, co-evolutionary process, where each advance uncovers new challenges and opportunities for reshaping scientific software development.
Create a lesson
Metadata
- Categories
- cs.DC, cs.AI
- Journal
- Future Generation Computer Systems, 2026, 108618, ISSN 0167-739X
Related papers
Estimating GPU Roofline Arithmetic Intensity with Off-the-Shelf LLMs and Compiler Artifacts
Shared title terminologycs.DCGregory Bolet, Giorgis Georgakoudis, Konstantinos Parasyris et al.
GC-MoE K3: A Green-Context Role Graph for Latent Mixture-of-Experts Decode
Shared title terminologycs.DCYong Li, Haoyu Wang, Kan Liu et al.
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.
Design Space Exploration of DMA based Finer-Grain Compute Communication Overlap
Shared title terminologycs.DCShagnik Pal, Shaizeen Aga, Suchita Pati et al.
Predicting Lakehouse Performance in Clouds: An Empirical Exploration of Query Runtime Variance
Shared title terminologycs.DCJames Nurdin, Wei Liu, Richard Mccreadie et al.
Kavier: Exploring Performance, Sustainability, and Efficiency of LLM Ecosystems under Inference through Cache-Aware Discrete-Event Simulation
Shared title terminologycs.DCRadu Nicolae, Alexandru Iosup, Animesh Trivedi et al.