MPI-rical: Data-Driven MPI Distributed Parallelism Assistance with Transformers
Not on the map. Why?
Abstract (arXiv)
Message Passing Interface (MPI) plays a crucial role in distributed memory parallelization across multiple nodes. However, parallelizing MPI code manually, and specifically, performing domain decomposition, is a challenging, error-prone task. In this paper, we address this problem by developing MPI-RICAL, a novel data-driven, programming-assistance tool that assists programmers in writing domain decomposition based distributed memory parallelization code. Specifically, we train a supervised language model to suggest MPI functions and their proper locations in the code on the fly. We also introduce MPICodeCorpus, the first publicly available corpus of MPI-based parallel programs that is created by mining more than 15,000 open-source repositories on GitHub. Experimental results have been done on MPICodeCorpus and more importantly, on a compiled benchmark of MPI-based parallel programs for numerical computations that represent real-world scientific applications. MPI-RICAL achieves F1 scores between 0.87-0.91 on these programs, demonstrating its accuracy in suggesting correct MPI functions at appropriate code locations.. The source code used in this work, as well as other relevant sources, are available at: https://github.com/Scientific-Computing-Lab-NRCN/MPI-rical
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 25 of its 66 references that are in the map. First posted on arXiv 16 May 2023.
Builds on
25 of 66 references.
References · 25
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
- 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
- 2022A Systematic Evaluation of Large Language Models of Codecited by 360
- 2020Unsupervised Translation of Programming Languagescited by 262
- 2020IntelliCode Compose: Code Generation Using Transformercited by 225
- 2021CodeNet: A Large-Scale AI for Code Dataset for Learning a Diversity of Coding Taskscited by 199
- 2020Continual Lifelong Learning in Natural Language Processing: A Surveycited by 152
13 more
- 2021AMMUS : A Survey of Transformer-based Pretrained Models in Natural Language Processingcited by 131
- 2022Natural Language to Code Translation with Executioncited by 122
- 2020You Autocomplete Me: Poisoning Vulnerabilities in Neural Code Completioncited by 112
- 2018StaQC: A Systematically Mined Question-Code Dataset from Stack Overflowcited by 30
- 2023An Empirical Comparison of Pre-Trained Models of Source Codecited by 25
- 2021A Survey on Machine Learning Techniques for Source Code Analysiscited by 23
- 2020Learning Autocompletion from Real-World Datasetscited by 19
- 2018The Three Pillars of Machine Programmingcited by 12
- 2022Learning to Parallelize in a Shared-Memory Environment with Transformerscited by 10
- 2018Public Git Archive: a Big Code dataset for allcited by 5
- 2020ControlFlag: A Self-Supervised Idiosyncratic Pattern Detection System for Software Control Structurescited by 5
- 2021DeepSCC: Source Code Classification Based on Fine-Tuned RoBERTacited by 4
- 2015OMP2MPI: Automatic MPI code generation from OpenMP programscited by 2
Built on by
Citing papers per year: 2023: 2; 2024: 2; 2025: 0; 2026: 1.
5 papers.
- 2024The Landscape and Challenges of HPC Research and LLMscited by 22
- 2023Scope is all you need: Transforming LLMs for HPC Codecited by 12
- 2023MonoCoder: Domain-Specific Code Language Model for HPC Codes and Taskscited by 12
- 2024MPIrigen: MPI Code Generation through Domain-Specific Language Modelscited by 5
- 2026ParaCodex: A Profiling-Guided Autonomous Coding Agent for Reliable Parallel Code Generation and Translationcited by 0
- 2026ParaCodex: A Profiling-Guided Autonomous Coding Agent for Reliable Parallel Code Generation and Translation7 Jan 2026
- 2024MPIrigen: MPI Code Generation through Domain-Specific Language Models14 Feb 2024
- 2024The Landscape and Challenges of HPC Research and LLMs3 Feb 2024
- 2023MonoCoder: Domain-Specific Code Language Model for HPC Codes and Tasks20 Dec 2023
- 2023Scope is all you need: Transforming LLMs for HPC Code18 Aug 2023