Creating a Dataset for High-Performance Computing Code Translation using LLMs: A Bridge Between OpenMP Fortran and C++
Not on the map. Why?
Abstract (arXiv)
In this study, we present a novel dataset for training machine learning models translating between OpenMP Fortran and C++ code. To ensure reliability and applicability, the dataset is created from a range of representative open-source OpenMP benchmarks. It is also refined using a meticulous code similarity test. The effectiveness of our dataset is assessed using both quantitative (CodeBLEU) and qualitative (human evaluation) methods. We showcase how this dataset significantly elevates the translation competencies of large language models (LLMs). Specifically, models without prior coding knowledge experienced a boost of ×~5.1 in their CodeBLEU scores, while models with some coding familiarity saw an impressive ×~9.9-fold increase. The best fine-tuned model using our dataset outperforms GPT-4. It is also reaching human-level accuracy. This work underscores the immense potential of our dataset in propelling advancements in the domain of code translation for high-performance computing. The dataset is accessible at hrefhttps://github.com/bin123apple/Fortran-CPP-HPC-code-translation-datasetOpenMP-Fortran-CPP-Translation.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 6 of its 22 references that are in the map. First posted on arXiv 15 Jul 2023.
Builds on
6 of 22 references.
References · 6
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2023StarCoder: may the source be with you!cited by 790
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
- 2023How Good Are GPT Models at Machine Translation? A Comprehensive Evaluationcited by 344
- 2020Unsupervised Translation of Programming Languagescited by 262
- 2021CodeNet: A Large-Scale AI for Code Dataset for Learning a Diversity of Coding Taskscited by 199
Built on by
Citing papers per year: 2024: 4; 2025: 5; 2026: 2.
11 papers.
- 2024CodeRosetta: Pushing the Boundaries of Unsupervised Code Translation for Parallel Programmingcited by 19
- 2024Enhancing Code Translation in Language Models with Few-Shot Learning via Retrieval-Augmented Generationcited by 16
- 2024LASSI: An LLM-based Automated Self-Correcting Pipeline for Translating Parallel Scientific Codescited by 10
- 2025LLM & HPC:Benchmarking DeepSeek's Performance in High-Performance Computing Taskscited by 8
- 2025LLM-Assisted Translation of Legacy FORTRAN Codes to C++: A Cross-Platform Studycited by 7
- 2024Enhancing Cross-Language Code Translation via Task-Specific Embedding Alignment in Retrieval-Augmented Generationcited by 4
- 2025Can Large Language Models Predict Parallel Code Performance?cited by 4
- 2025Beyond Code Pairs: Dialogue-Based Data Generation for LLM Code Translationcited by 3
- 2026Beyond BLEU: A Semantic Evaluation Method for Code Translationcited by 1
- 2025OMPILOT: Harnessing Transformer Models for Auto Parallelization to Shared Memory Computing Paradigmscited by 0
- 2026AstraAI: LLMs, Retrieval, and AST-Guided Assistance for HPC Codebasescited by 0
- 2026Beyond BLEU: A Semantic Evaluation Method for Code Translation6 May 2026
- 2026AstraAI: LLMs, Retrieval, and AST-Guided Assistance for HPC Codebases28 Mar 2026
- 2025Beyond Code Pairs: Dialogue-Based Data Generation for LLM Code Translation29 Nov 2025
- 2025OMPILOT: Harnessing Transformer Models for Auto Parallelization to Shared Memory Computing Paradigms5 Nov 2025
- 2025Can Large Language Models Predict Parallel Code Performance?6 May 2025
- 2025LLM-Assisted Translation of Legacy FORTRAN Codes to C++: A Cross-Platform Study21 Apr 2025
- 2025LLM & HPC:Benchmarking DeepSeek's Performance in High-Performance Computing Tasks15 Mar 2025
- 2024Enhancing Cross-Language Code Translation via Task-Specific Embedding Alignment in Retrieval-Augmented Generation6 Dec 2024
- 2024CodeRosetta: Pushing the Boundaries of Unsupervised Code Translation for Parallel Programming27 Oct 2024
- 2024Enhancing Code Translation in Language Models with Few-Shot Learning via Retrieval-Augmented Generation29 Jul 2024
- 2024LASSI: An LLM-based Automated Self-Correcting Pipeline for Translating Parallel Scientific Codes30 Jun 2024