MPI Errors Detection using GNN Embedding and Vector Embedding over LLVM IR - Inria - Institut national de recherche en sciences et technologies du numérique
Communication Dans Un Congrès Année : 2024

MPI Errors Detection using GNN Embedding and Vector Embedding over LLVM IR

Résumé

Identifying errors in parallel MPI programs is a challenging task. Despite the growing number of verification tools, debugging parallel programs remains a significant challenge. This paper is the first to utilize embedding and deep learning graph neural networks (GNNs) to tackle the issue of identifying bugs in MPI programs. Specifically, we have designed and developed two models that can determine, from a code's LLVM Intermediate Representation (IR), whether the code is correct or contains a known MPI error.

We tested our models using two dedicated MPI benchmark suites for verification: MBI and MPI-CorrBench. By training and validating our models on the same benchmark suite, we achieved a prediction accuracy of 92% in detecting error types. Additionally, we trained and evaluated our models on distinct benchmark suites (e.g., transitioning from MBI to MPI-CorrBench) and achieved a promising accuracy of over 80%. Finally, we investigated the interaction between different MPI errors and quantified our models generalization capabilities over new unseen errors. This involved removing errors types during training and assessing whether our models could still predict them. The detection accuracy of removed errors vary significantly between 20% to 80%, indicating connected error patterns.

Fichier principal
Vignette du fichier
2403.02518v1.pdf (766.53 Ko) Télécharger le fichier
IPDPS_23.pdf (685.1 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-04724011 , version 1 (07-10-2024)

Licence

Identifiants

  • HAL Id : hal-04724011 , version 1

Citer

Jad El Karchi, Hanze Chen, Ali Tehranijamsaz, Ali Jannesari, Mihail Popov, et al.. MPI Errors Detection using GNN Embedding and Vector Embedding over LLVM IR. IPDPS 2024 - 38th International Symposium on Parallel and Distributed Processing, May 2024, San francisco, United States. ⟨hal-04724011⟩
19 Consultations
9 Téléchargements

Partager

More