[petsc-users] default orthogonalization in gmres

Jed Brown jedbrown at mcs.anl.gov
Mon Jul 15 16:57:13 CDT 2013


Karl Rupp <rupp at mcs.anl.gov> writes:

> However, for Gram-Schmidt you can just compute all the 
> necessary scalar products at the same time (VecMDot) and reuse the 
> common data vector. This gives you a speed-up of a factor of almost two.

It's not a factor of 2, it's a factor of k where k is the size of the
subspace.  Classical Gram-Schmidt needs one reduction per iteration
(normalization can be hidden), but modified needs k reductions.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130715/b0aeb6a9/attachment-0001.pgp>


More information about the petsc-users mailing list