Predicting Software Defects in Hybrid MPI and OpenMP Parallel Programs Using Machine Learning

被引:6
作者
Althiban, Amani S. [1 ]
Alharbi, Hajar M. [1 ]
Al Khuzayem, Lama A. [1 ]
Eassa, Fathy Elbouraey [1 ]
机构
[1] King Abdulaziz Univ, Fac Comp & Informat Technol, Dept Comp Sci, Jeddah 21589, Saudi Arabia
关键词
software defect prediction (SDP); high-performance computing (HPC); MPI; OpenMP; hybrid programming model; machine learning (ML); FRAMEWORK;
D O I
10.3390/electronics13010182
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
High-performance computing (HPC) and its supercomputers are essential for solving the most difficult issues in many scientific computing domains. The proliferation of computational resources utilized by HPC systems has resulted in an increase in the associated error rates. As such, modern HPC systems promote a hybrid programming style that integrates the message-passing interface (MPI) and open multi-processing (OpenMP). However, this integration often leads to complex defects, such as deadlocks and race conditions, that are challenging to detect and resolve. This paper presents a novel approach: using machine learning algorithms to predict defects in C++-based systems by employing hybrid MPI and OpenMP models. We focus on employing a balanced dataset to enhance prediction accuracy and reliability. Our study highlights the effectiveness of the support vector machine (SVM) classifier, enhanced with term frequency (TF) and recursive feature elimination (RFE) techniques, which demonstrates superior accuracy and performance in defect prediction when compared to other classifiers. This research contributes significantly to the field by providing a robust method for early defect detection in hybrid programming environments, thereby reducing development time, costs and improving the overall reliability of HPC systems.
引用
收藏
页数:31
相关论文
共 52 条
[1]  
Harer JA, 2018, Arxiv, DOI arXiv:1803.04497
[2]   Deep Learning-Based Software Defect Prediction via Semantic Key Features of Source Code-Systematic Survey [J].
Abdu, Ahmed ;
Zhai, Zhengjun ;
Algabri, Redhwan ;
Abdo, Hakim A. ;
Hamad, Kotiba ;
Al-antari, Mugahed A. .
MATHEMATICS, 2022, 10 (17)
[3]   Parallel Hybrid Testing Techniques for the Dual-Programming Models-Based Programs [J].
Alghamdi, Ahmed Mohammed ;
Eassa, Fathy Elbouraey ;
Khamakhem, Maher Ali ;
AL-Ghamdi, Abdullah Saad AL-Malaise ;
Alfakeeh, Ahmed S. ;
Alshahrani, Abdullah S. ;
Alarood, Ala A. .
SYMMETRY-BASEL, 2020, 12 (09)
[4]  
[Anonymous], 2018, P 2018 55 ACM ESDA I
[5]   Open Issues in Software Defect Prediction [J].
Arora, Ishani ;
Tetarwal, Vivek ;
Saha, Anju .
PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON INFORMATION AND COMMUNICATION TECHNOLOGIES, ICICT 2014, 2015, 46 :906-912
[6]  
Bates S., 2022, arXiv, DOI [10.1080/01621459.2023.2197686, DOI 10.1080/01621459.2023.2197686]
[7]  
Dong ZM, 2025, Arxiv, DOI arXiv:2303.06808
[8]   A high-level C plus plus approach to manage local errors, asynchrony and faults in an MPI application [J].
Engwer, Christian ;
Altenbernd, Mirco ;
Dreier, Nils-Arne ;
Goeddeke, Dominik .
2018 26TH EUROMICRO INTERNATIONAL CONFERENCE ON PARALLEL, DISTRIBUTED, AND NETWORK-BASED PROCESSING (PDP 2018), 2018, :714-721
[9]   A critique of software defect prediction models [J].
Fenton, NE ;
Neil, M .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1999, 25 (05) :675-689
[10]  
Patro SGK, 2015, Arxiv, DOI arXiv:1503.06462