Consider BVOrthogonalize in SLEPc.  It can also be more stable than 
Gram-Schmidt.

Harshad Sahasrabudhe <[email protected]> writes:

> Hello,
>
> I have a set of m n-dimensional vectors and I need to find orthogonal
> vectors in this subspace. This can be done using the Gram-Schmidt process.
> Is there a way to set up the KSP to do this directly in PETSc?
>
> Thanks,
> Harshad

Reply via email to