Errors Classification and Static Detection Techniques for Dual-Programming Model (OpenMP and OpenACC)
Open Access
- 4 November 2022
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 10, 117808-117826
Abstract
Recently, incorporating more than one programming model into a system designed for high performance computing (HPC) has become a popular solution to implementing parallel systems. Since traditional programming languages, such as C, C++, and Fortran, do not support parallelism, many programmers add one or more programming models to achieve parallelism and accelerate computation efficiently. These models include Open Accelerators (OpenACC) and Open Multi-Processing (OpenMP), which have recently been used with various models, including Message Passing Interface (MPI) and Compute Unified Device Architecture (CUDA). Due to the difficulty of predicting the behavior of threads, runtime errors cannot be predicted. The compiler cannot identify runtime errors such as data races, race conditions, deadlocks, or livelocks. Many studies have been conducted on the development of testing tools to detect runtime errors when using programming models, such as the combinations of OpenACC with MPI models and OpenMP with MPI. Although more applications use OpenACC and OpenMP together, no testing tools have been developed to test these applications to date. This paper presents a testing tool for detecting runtime using a static testing technique. This tool can detect actual and potential runtime errors during the integration of the OpenACC and OpenMP models into systems developed in C++. This tool implement error dependency graphs, which are proposed in this paper. Additionally, a dependency graph of the errors is provided, along with a classification of runtime errors that result from combining the two programming models mentioned earlier.Keywords
Funding Information
- Deanship of Scientific Research (DSR), King Abdulaziz University, Jeddah (KEP-PHD-20-611-42)
This publication has 46 references indexed in Scilit:
- Sherlock: scalable deadlock detection for concurrent programs2014
- A Pattern-Based Comparison of OpenACC and OpenMP for Accelerator ComputingLecture Notes in Computer Science, 2014
- Classification of Common Errors in OpenMP Applications2014
- ompVerify: Polyhedral Analysis for the OpenMP Programmer2011
- Linear type theory for asynchronous session typesJournal of Functional Programming, 2009
- Multiparty asynchronous session types2008
- Detection of Violations to the MPI Standard in Hybrid OpenMP/MPI Applications2008
- ValgrindElectronic Notes in Theoretical Computer Science, 2003
- Language primitives and type discipline for structured communication-based programming1998
- Communicating sequential processesCommunications of the ACM, 1978