Supplementary materials

 Scientific applications continue to rely heavily on legacy Fortran codebases originally developed for homogeneous, CPU-based systems. As High-Performance Computing (HPC) evolves towards heterogeneous GPU-accelerated architectures, many modern accelerators lack native Fortran bindings, creating an urgent need to translate and optimize legacy code for portability. Frameworks like Kokkos provide performance portability across multiple architectures and a single-source C++ abstraction, but manual porting from Fortran to Kokkos requires significant domain expertise and remains time-intensive. While large language models (LLMs) have demonstrated promise in source-to-source code generation, their use in building fully autonomous workflows for translating and optimizing parallel code is largely unexplored, particularly in the context of achieving performance portability across diverse hardware. This paper presents an agentic AI workflow in which specialized LLM “agents” collaborate to translate, validate, compile, run, test, debug, and optimize Fortran kernels into portable Kokkos C++ programs. Our results show that the pipeline successfully modernizes a variety of benchmark kernels, producing performance-portable Kokkos codes across hardware partitions. Paid OpenAI models such as GPT-5 and o4-mini-high executed the full workflow for only a few U.S. dollars, producing optimized codes that exceeded the Fortran baselines, whereas open-source models like Llama4-Maverick often failed to produce functional codes. This work demonstrates the feasibility of agentic AI for Fortran-to-Kokkos code transformation and offers a path toward autonomously modernizing legacy scientific applications to run portably and efficiently across a diverse set of supercomputers. It further illustrates the potential of LLM-driven agentic systems to perform structured, domain-specific reasoning tasks in scientific and systems-oriented applications. LA-UR-25-28882

Link
https://zenodo.org/records/22679376
Found by
Zenodo
Authors
rsearcher, anonymous, anonymous rsearcher
Categories
benchmark
Published
2026-09-09
Last seen by the radar
2026-09-10
Citations
0
Downloads
96
Views
372
Radar score
41.32 / 100 (how it is scored)
Why it scored so
Also found via OpenAlex; Matched: benchmark; Recency discount: updated event ×0.5; Primary record: Zenodo
Related links
https://doi.org/10.5281/zenodo.22679376
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Zenodo