OMPRacer: A Scalable and Precise Static Race Detector for OpenMP Programs
Authors:
- 1 November 2020
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-14
Abstract
We present OMPRACER, a static tool that uses flow-sensitive, interprocedural analysis to detect data races in OpenMP programs. OMPRACER is fast, scalable, has high code coverage, and supports the most common OpenMP features by combining state-of-the-art pointer analysis, novel value-flow analysis, happens-before tracking, and generalized modelling of OpenMP APIs. Unlike dynamic tools that currently dominate data race detection, OMPRACER achieves almost 100% code coverage using static analysis to detect a broader category of races without running the program or relying on specific input or runtime behaviour. OMPRACER has competitive precision with dynamic tools like Archer and ROMP: passing 105/116 cases in DataRaceBench with a total accuracy of 91%. OMPRACER has been used to analyze several Exascale Computing Project proxy applications containing over 2 million lines of code in under 10 minutes. OMPRACER has revealed previously unknown races in an ECP proxy app and a production simulation for COVID19.Keywords
Funding Information
- U.S. Department of Energy
This publication has 31 references indexed in Scilit:
- Pointer AnalysisFoundations and Trends® in Programming Languages, 2015
- Kokkos: Enabling manycore performance portability through polymorphic memory access patternsJournal of Parallel and Distributed Computing, 2014
- POLLY — PERFORMING POLYHEDRAL OPTIMIZATIONS ON A LOW-LEVEL INTERMEDIATE REPRESENTATIONParallel Processing Letters, 2012
- LOCKSMITHACM Transactions on Programming Languages and Systems, 2011
- ompVerify: Polyhedral Analysis for the OpenMP Programmer2011
- FastTrackACM SIGPLAN Notices, 2009
- RELAY2007
- ValgrindACM SIGPLAN Notices, 2007
- Cloning-based context-sensitive pointer alias analysis using binary decision diagrams2004
- Interprocedural may-alias analysis for pointersACM SIGPLAN Notices, 1994