paper-with-me

Papers

LLM-Assisted Translation of Legacy FORTRAN Codes to C++: A Cross-Platform Study

2025-04-21 · Nishath Rajiv Ranasinghe, Shawn M. Jones, Michal Kucer, Ayan Biswas, Daniel O'Malley, Alexander Buschmann Most, Selma Liliane Wanna, Ajay Sreekumar

Large Language Models (LLMs) are increasingly being leveraged for generating and translating scientific computer codes by both domain-experts and non-domain experts. Fortran has served as one of the go to programming languages in legacy high-performance computing (HPC) for scientific discoveries. Despite growing adoption, LLM-based code translation of legacy code-bases has not been thoroughly assessed or quantified for its usability. Here, we studied the applicability of LLM-based translation of Fortran to C++ as a step towards building an agentic-workflow using open-weight LLMs on two different computational platforms. We statistically quantified the compilation accuracy of the translated C++ codes, measured the similarity of the LLM translated code to the human translated C++ code, and statistically quantified the output similarity of the Fortran to C++ translation.

📄 PDF Abstract BibTeX arXiv:2504.15424

Code (0)

등록된 구현이 없습니다.

Tasks

C++ codeCode TranslationTranslation

Similar Papers 제목 키워드 기반

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

2025-09-15 · Sparsh Gupta, Kamalavasan Kamalakkannan, Maxim Moraru, Galen Shipman 외 arxiv

Scientific applications continue to rely on legacy Fortran codebases originally developed for homogeneous, CPU-based systems. As High-Performance Computing (HPC) shifts toward heterogeneous GPU-accelerated architectures,…

Code Generation

Leveraging Large Language Models for Code Translation and Software Development in Scientific Computing

2024-10-31 · Akash Dhruv, Anshu Dubey

The emergence of foundational models and generative artificial intelligence (GenAI) is poised to transform productivity in scientific computing, especially in code development, refactoring, and translating from one progr…

Code TranslationPrompt EngineeringTranslation

Systematic LLM Translation of Legacy Scientific Code to Differentiable Frameworks: Application to a Land Surface Model

2026-06-04 · Aya Lahlou, Linnia Hawkins, Pierre Gentine arxiv

Differentiable programming offers transformative capabilities for scientific modeling, enabling gradient-based parameter estimation, sensitivity analysis, and data assimilation. Yet, migrating legacy codebases into diffe…

Fortran2CPP: Automating Fortran-to-C++ Translation using LLMs via Multi-Turn Dialogue and Dual-Agent Integration

2024-12-27 · Le Chen, Bin Lei, Dunzhi Zhou, Pei-Hung Lin 외

Translating legacy Fortran code into C++ is a crucial step in modernizing high-performance computing (HPC) applications. However, the scarcity of high-quality, parallel Fortran-to-C++ datasets and the limited domain-spec…

C++ codeCode RepairCode TranslationTranslation

Structuring agentic AI for HPC code modernization

2026-06-07 · Anthony Marinov, Igor Sfiligoi arxiv

Modernization of legacy scientific codes is often necessary to keep up with the ever-evolving changes in the compute resource ecosystem. Parallelization and migration from poorly supported software ecosystems are two of …