Skip to Main content Skip to Navigation
New interface

Sur la validation numérique des codes de calcul industriels

Abstract : Numerical verification of industrial codes, such as those developed at EDF R&D, is required to estimate the precision and the quality of computed results, even more for code running in HPC environments where millions of instructions are performed each second. These programs usually use external libraries (MPI, BLACS, BLAS, LAPACK). In this context, it is required to have a tool as nonintrusive as possible to avoid rewriting the original code. In this regard, the CADNA library, which implement the Discrete Stochastic Arithmetic, appears to be one of a promising approach for industrial applications. In the first part of this work, we are interested in an efficient implementation of the BLAS routine DGEMM (General Matrix Multiply) implementing Discrete Stochastic Arithmetic. The implementation of a basic algorithm for matrix product using stochastic types leads to an overhead greater than 1000 for a matrix of 1024*1024 compared to the standard version and commercial versions of xGEMM. Here, we detail different solutions to reduce this overhead and the results we have obtained. A new routine DgemmCADNA have been designed. This routine has allowed to reduce the overhead from 1100 to 35 compare to optimized BLAS implementations (GotoBLAS). Then, we focus on the numerical verification of Telemac-2D computed results. Performing a numerical validation with the CADNA library shows that more than 30% of the numerical instabilities occurring during an execution come from the dot product function. A more accurate implementation of the dot product with compensated algorithms is presented in this work. We show that implementing these kind of algorithms, in order to improve the accuracy of computed results does not alter the code performance.
Complete list of metadata

Cited literature [11 references]  Display  Hide  Download
Contributor : Séthy Montan Connect in order to contact the contributor
Submitted on : Wednesday, December 11, 2013 - 12:35:35 AM
Last modification on : Sunday, June 26, 2022 - 9:45:45 AM
Long-term archiving on: : Tuesday, March 11, 2014 - 11:15:20 PM


  • HAL Id : tel-00913570, version 1


Séthy Akpémado Montan. Sur la validation numérique des codes de calcul industriels. Performance et fiabilité [cs.PF]. Université Pierre et Marie Curie - Paris VI, 2013. Français. ⟨NNT : ⟩. ⟨tel-00913570⟩



Record views


Files downloads