arXiv AI

A Fortran General-Purpose Transpiler: Proof of Concept

arXiv:2608. 00130v2 Announce Type: replace-cross Abstract: Fortran has been the cornerstone of high-performance computing for decades and remains unmatched in many domains.

arXiv AI
Oct 28

From Legacy Fortran to Portable Kokkos: An Autonomous Agentic AI Workflow

The paper introduces an autonomous AI workflow that uses specialized large language model agents to translate legacy Fortran code into performance‑portable Kokkos C++ programs. The pipeline handles translation, validation, compilation, execution, testing, debugging, and optimization, and has been shown to modernize benchmark kernels across heterogeneous GPU‑accelerated hardware. Experiments demonstrate that paid OpenAI models can produce optimized Kokkos code for only a few dollars, outperforming Fortran baselines, while open‑source models often fail to generate functional code.

By Sparsh Gupta, Kamalavasan Kamalakkannan, Maxim Moraru, Galen Shipman, Patrick Diehl
arXiv Computation and Language
Sep 7

JLIR: A Julia-Native MLIR-Inspired Intermediate Representation with Automatic JACC Kernel Extraction

JLIR is a Julia-native intermediate representation inspired by MLIR that enables multi-level, dialect-oriented compilation within the Julia ecosystem. It allows Julia programs to be represented before low-level lowering, supports extensible operations and transformation passes via Julia’s language mechanisms, and keeps partially typed programs transformable until concrete types are known. The framework includes built‑in dialects for arithmetic, control flow, functions, structured loops, and memory operations, and can be extended with new domain operations without altering the core system. JLIR was demonstrated by automatically generating JACC kernels for accelerators.

By Narasinga Rao Miniskar, Seyong Lee, Keita Teranishi, Jeffrey S Vetter
arXiv AI
Aug 28

Exploring the Role of LLMs in HPC Programming: A Survey

The survey reviews how Large Language Models (LLMs) are being used in High‑Performance Computing (HPC) programming, covering code generation, parallelization, frameworks, evaluation, and broader challenges. It finds that general‑purpose LLMs perform adequately on serial and OpenMP‑style tasks but struggle with distributed MPI workloads, while domain‑specialized models achieve higher accuracy yet are limited in scope and evaluation. The authors argue that LLMs will not replace HPC experts soon but can act as powerful collaborators, provided richer datasets, integration with performance tools, rigorous evaluation, and governance are developed.

By Strahinja Ljaljevic, Josep Jorba, Sergio Iserte
arXiv AI
Oct 28

Re4: Scientific Computing Agent with Rewriting, Resolution, Review and Revision

The paper introduces Re4, a scientific computing agent that employs a four-step logical chain—rewriting, resolution, review, and revision—using three large language models: a Consultant, a Programmer, and a Reviewer. The Consultant rewrites problem descriptions by linking them to domain knowledge, the Programmer generates and runs code, and the Reviewer iteratively refines the code through self-debugging. Experiments on PDEs, fluid dynamics, ill‑conditioned linear systems, and data‑driven physics show that this collaborative framework markedly improves bug‑free code generation and execution success rates across several LLMs.

By Ao Cheng, Lei Zhang, Guowei He
arXiv AI
Jun 6

Beyond Code Pairs: Dialogue-Based Data Generation for LLM Code Translation

arXiv:2512. 03086v2 Announce Type: replace-cross Abstract: Large language models (LLMs) have shown remarkable capabilities in code translation, yet their performance deteriorates in low-resource programming domains such as Fortran and emerging frameworks like CUDA, where high-quality parallel data are scarce.

By Le Chen, Nuo Xu, Winson Chen, Bin Lei, Pei-Hung Lin, Dunzhi Zhou, Rajeev Thakur, Caiwen Ding, Ali Jannesari, Chunhua Liao