TY - EJOU AU - Al-Johany, Norah Abdullah AU - Sharaf, Sanaa Abdullah AU - Eassa, Fathy Elbouraey AU - Alnanih, Reem Abdulaziz TI - Static Analysis Techniques for Fixing Software Defects in MPI-Based Parallel Programs T2 - Computers, Materials \& Continua PY - 2024 VL - 79 IS - 2 SN - 1546-2226 AB - The Message Passing Interface (MPI) is a widely accepted standard for parallel computing on distributed memory systems. However, MPI implementations can contain defects that impact the reliability and performance of parallel applications. Detecting and correcting these defects is crucial, yet there is a lack of published models specifically designed for correcting MPI defects. To address this, we propose a model for detecting and correcting MPI defects (DC_MPI), which aims to detect and correct defects in various types of MPI communication, including blocking point-to-point (BPTP), nonblocking point-to-point (NBPTP), and collective communication (CC). The defects addressed by the DC_MPI model include illegal MPI calls, deadlocks (DL), race conditions (RC), and message mismatches (MM). To assess the effectiveness of the DC_MPI model, we performed experiments on a dataset consisting of 40 MPI codes. The results indicate that the model achieved a detection rate of 37 out of 40 codes, resulting in an overall detection accuracy of 92.5%. Additionally, the execution duration of the DC_MPI model ranged from 0.81 to 1.36 s. These findings show that the DC_MPI model is useful in detecting and correcting defects in MPI implementations, thereby enhancing the reliability and performance of parallel applications. The DC_MPI model fills an important research gap and provides a valuable tool for improving the quality of MPI-based parallel computing systems. KW - High-performance computing; parallel computing; software engineering; software defect; message passing interface; deadlock DO - 10.32604/cmc.2024.047392