Back

Minisymposium Presentation

Exploring Numerical Accuracy and Mixed-Precision with Verificarlo and Stochastic Rounding

Monday, June 16, 2025
15:30
-
16:00
CEST
Climate, Weather and Earth Sciences
Climate, Weather and Earth Sciences
Climate, Weather and Earth Sciences
Chemistry and Materials
Chemistry and Materials
Chemistry and Materials
Computer Science and Applied Mathematics
Computer Science and Applied Mathematics
Computer Science and Applied Mathematics
Humanities and Social Sciences
Humanities and Social Sciences
Humanities and Social Sciences
Engineering
Engineering
Engineering
Life Sciences
Life Sciences
Life Sciences
Physics
Physics
Physics

Presenter

Pablo
de Oliveira Castro
-
UVSQ, Université Paris-Saclay

Pablo de Oliveira Castro is a professor at the University of Versailles - Université Paris Saclay and coordinates the master's degree in High-Performance Computing and Simulation. He received his PhD in 2010 in Parallel Data Flow Languages at the CEA and his habilitation at the University Paris Saclay in 2022. His research interests include floating-point arithmetic, compilers, and high-performance computing. Pablo is strongly involved in the dissemination of research through open-source software.

Description

Reducing the energy cost of computer simulations is critical. While numerical precision must be sufficient to yield reliable scientific insights, lower precision can significantly reduce energy consumption and computation time. We present Verificarlo (https://github.com/verificarlo/verificarlo), an open-source, LLVM-based framework for verifying and optimizing numerical accuracy in complex programs. Verificarlo integrates multiple floating-point backends that simulate numerical errors and the effects of lower precision arithmetic, including MCA / Stochastic Rounding. Before reducing precision, it is essential to ensure that simulations are numerically robust. Verificarlo employs alternative floating-point models to detect subtle numerical bugs and defines the number of significant digits probabilistically to assess computational accuracy. Its variable precision backend enables a thorough exploration of the trade-off between precision and performance, identifying code regions that can safely operate with smaller floating-point formats without compromising reproducibility. Verificarlo has been successfully applied in HPC applications such as neuroimaging pipelines, DFT quantum mechanical modeling, and structure simulations.

Authors