SC20 Proceedings

The International Conference for High Performance Computing, Networking, Storage, and Analysis

pLiner: Isolating Lines of Floating-Point Code for Compiler-Induced Variability


Authors: Hui Guo (University of California, Davis); Ignacio Laguna (Lawrence Livermore National Laboratory); and Cindy Rubio-González (University of California, Davis)

Abstract: Scientific applications are often impacted by numerical inconsistencies when using different compilers or when a compiler is used with different optimization levels; such inconsistencies hinder reproducibility and can be hard to diagnose. We present PLINER, a tool to automatically pinpoint code lines that trigger compiler-induced variability. PLINER uses a novel approach to enhance floating-point precision at different levels of code granularity, and performs a guided search to identify locations affected by numerical inconsistencies. We demonstrate PLINER on a real-world numerical inconsistency that required weeks to diagnose, which PLINER isolates in minutes. We also evaluate PLINER on 100 synthetic programs, and the NAS Parallel Benchmarks (NPB). On the synthetic programs, PLINER detects the affected lines of code 87% of the time while the state-of-the-art approach only detects the affected lines 6% of the time. Furthermore, PLINER successfully isolates all numerical inconsistencies found in the NPB.




Back to Technical Papers Archive Listing