[petsc-users] About GMRES Solver in PETSc
Matthew Knepley
knepley at gmail.com
Wed Jan 18 14:41:08 CST 2017
On Wed, Jan 18, 2017 at 2:32 PM, Chih-Hao Chen <
chih-hao.chen2 at mail.mcgill.ca> wrote:
> Hello,
>
>
> Thanks for the quick reply.
>
> So if I specify matrix A and RHS vector b in parallel forms,
>
> ie. having them distributed across several cores,
>
> when I using the functions like MatMult, VecAYPX and etc.,
>
> all the operations would be executed in parallel too?
>
>
Yes
Matt
> Thanks very much.
>
>
>
> Best,
>
> Chih-Hao
> ------------------------------
> *From:* Hong <hzhang at mcs.anl.gov>
> *Sent:* 18 January 2017 15:24:41
> *To:* Chih-Hao Chen
> *Cc:* petsc-users at mcs.anl.gov
> *Subject:* Re: [petsc-users] About GMRES Solver in PETSc
>
> Yes.
> Hong
>
> On Wed, Jan 18, 2017 at 2:22 PM, Chih-Hao Chen <
> chih-hao.chen2 at mail.mcgill.ca> wrote:
>
>> Hello,
>>
>>
>> Sorry for this bother.
>>
>> I"ve checked GMRES solver in your libary supports parallel computing in
>> your website:
>>
>> http://www.mcs.anl.gov/petsc/documentation/linearsolvertable.html.
>> <http://www.mcs.anl.gov/petsc/documentation/linearsolvertable.html>
>>
>> Summary of Sparse Linear Solvers Available from PETSc
>> <http://www.mcs.anl.gov/petsc/documentation/linearsolvertable.html>
>> www.mcs.anl.gov
>> Summary of Sparse Linear Solvers Available from PETSc Requests and
>> contributions welcome
>> As we all know the key algorithm inside GMRES solver is Gram-Schmidt
>> process,
>>
>> so I guess if users specify their matrix A and right-hand-side vector b
>> in a linear equation (Ax=b),
>>
>> the Gram-Schmidt process will be executed in parallel,
>>
>> including matrix-vector multiplications and orthogonalization between the
>> basis vectors.
>>
>> Am I correct?
>>
>> Thanks very much.
>>
>>
>> Best,
>>
>> Chih-Hao
>>
>>
>>
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170118/7345e15b/attachment-0001.html>
More information about the petsc-users
mailing list