Using Mixed Precision in Low-Synchronization Reorthogonalized Block Classical Gram-Schmidt

Eda Oktay, Erin Carson
10/17/2022
math.NA

Official code: katlund/BlockStab (9 stars, MATLAB, BSD-3-Clause, last commit 2026-01-13).

Abstract

Using lower precision in algorithms can be beneficial in terms of reducing both computation and communication costs. Motivated by this, we aim to further the state-of-the-art in developing and analyzing mixed precision variants of iterative methods.

Show full abstract

In this work, we focus on the block variant of low-synchronization classical Gram-Schmidt with reorthogonalization, which we call BCGSI+LS. We demonstrate that the loss of orthogonality produced by this orthogonalization scheme can exceed $O(u)κ(\mathcal{X})$, where $u$ is the unit roundoff and $κ(\mathcal{X})$ is the condition number of the matrix to be orthogonalized, and thus we can not in general expect this to result in a backward stable block GMRES implementation. We then develop a mixed precision variant of this algorithm, called BCGSI+LS-MP, which uses higher precision in certain parts of the computation. We demonstrate experimentally that for a number of challenging test problems, our mixed precision variant successfully maintains a loss of orthogonality below $O(u)κ(\mathcal{X})$. This indicates that we can achieve a backward stable block GMRES algorithm that requires only one synchronization per iteration.

View on arXivView PDF

Code Implementations(1)

katlund/BlockStabOfficial100%
BSD-3-Clause

A lean Matlab package for exploring stability properties of block Gram-Schmidt

90MATLABAug 26, 202010 months agoBSD-3-Clause

Similar Papers

Cite this paper

@article{oktay2022using,
  title  = {Using Mixed Precision in Low-Synchronization Reorthogonalized Block Classical Gram-Schmidt},
  author = {Eda Oktay and Erin Carson},
  year   = {2022},
  eprint = {2210.08839},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.08839}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.08839.svg)](https://codeofpaper.com/paper/2210.08839)

Discussion