Abstract
The GMRES method by Saad and Schultz is one of the most popular iterative methods for the solution of large sparse non-symmetric linear systems of equations. The implementation proposed by Saad and Schultz uses the Arnoldi process and the modified Gram-Schmidt (MGS) method to compute orthonormal bases of certain Krylov subspaces. The MGS method requires many vector-vector operations, which can be difficult to implement efficiently on vector and parallel computers due to the low granularity of these operations. We present a new implementation of the GMRES method in which, for each Krylov subspace used, we first determine a Newton basis, and then orthogonalize it by computing a QR factorization of the matrix whose columns are the vectors of the Newton basis. In this way we replace the vector-vector operations of the MGS method by the task of computing a QR factorization of a dense matrix. This makes the implementa tion more flexible, and provides a possibility to adapt the computations to the computer at hand in order to achieve better performance.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have