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.
Document type :
Theses
Performance et fiabilité [cs.PF]. Université Pierre et Marie Curie - Paris VI, 2013. Français
Liste complète des métadonnées

Cited literature [11 references]  Display  Hide  Download

https://tel.archives-ouvertes.fr/tel-00913570
Contributor : Séthy Montan <>
Submitted on : Wednesday, December 11, 2013 - 12:35:35 AM
Last modification on : Friday, October 20, 2017 - 1:17:47 AM
Document(s) archivé(s) le : Tuesday, March 11, 2014 - 11:15:20 PM

Identifiers

  • HAL Id : tel-00913570, version 1

Collections

Citation

Séthy 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. 〈tel-00913570〉

Share

Metrics

Record views

641

Document downloads

3219