Reproducibility of parallel preconditioned conjugate gradient in hybrid programming environments - Archive ouverte HAL
Article Dans Une Revue International Journal of High Performance Computing Applications Année : 2020

Reproducibility of parallel preconditioned conjugate gradient in hybrid programming environments

Résumé

The Preconditioned Conjugate Gradient method is often employed for the solution of linear systems of equations arising in numerical simulations of physical phenomena. While being widely used, the solver is also known for its lack of accuracy while computing the residual. In this article, we propose two algorithmic solutions that originate from the ExBLAS project to enhance the accuracy of the solver as well as to ensure its reproducibility in a hybrid MPI + OpenMP tasks programming environment. One is based on ExBLAS and preserves every bit of information until the final rounding, while the other relies upon floating-point expansions and, hence, expands the intermediate precision. Instead of converting the entire solver into its ExBLAS-related implementation, we identify those parts that violate reproducibility/non-associativity, secure them, and combine this with the sequential executions. These algorithmic strategies are reinforced with programmability suggestions to assure deterministic executions. Finally, we verify these approaches on two modern HPC systems: both versions deliver reproducible number of iterations, residuals, direct errors, and vector-solutions for the overhead of less than 37.7% on 768 cores.

Dates et versions

hal-03999551 , version 1 (21-02-2023)

Identifiants

Citer

Roman Iakymchuk, Maria Barreda Vayá, Stef Graillat, José Aliaga, Enrique Quintana-Ortí. Reproducibility of parallel preconditioned conjugate gradient in hybrid programming environments. International Journal of High Performance Computing Applications, 2020, 34 (5), pp.502-518. ⟨10.1177/1094342020932650⟩. ⟨hal-03999551⟩
40 Consultations
0 Téléchargements

Altmetric

Partager

More