[Trilinos-Users] [EXTERNAL] Re: Reference for Belos solver parameters?

Bartlett, Roscoe A rabartl at sandia.gov
Thu Feb 14 09:51:55 EST 2019


If you are using Stratimikos, you can also see all of the supported Belos solvers and all of their solver options by going to:


and then expanding the "Valid Parameter (ParameterList)" drop-down.  You can see the list of all of the supported Belos linear solvers under:

"Valid Parameters" => "Linear Solver Types" => "Belos" => "Solver Types"

And there you can see "Block GMRES", "Pseudo Block GMRES", and so forth.

And you can expand further to see the options each of the solvers take and documentation for those options.

With Stratimikos, you can write piece of C++ driver code and then use an input parameter list of the structure shown above to pick any of solvers and set options.  An example of how to that with Epetra objects is shown in:


(See section "C) The "Glue" code that takes Epetra objects and wraps them as Thyra ...")

Using Tpetra is similar (but needs an example of its own).



Dr. Roscoe A. Bartlett, PhD
Sandia National Laboratories

> -----Original Message-----
> From: Trilinos-Users <trilinos-users-bounces at trilinos.org> On Behalf Of Heroux,
> Mike
> Sent: Saturday, February 09, 2019 8:13 PM
> To: Ben Cowan <benc at txcorp.com>; trilinos-users at trilinos.org
> Subject: [EXTERNAL] Re: [Trilinos-Users] Reference for Belos solver parameters?
> Ben,
> The Belos Solver Factory lists all of the solvers that can be generated in Belos,
> shown in a table part way down this page:
> https://trilinos.org/docs/dev/packages/belos/doc/html/classBelos_1_1SolverFa
> ctory.html
> The right column of the table has hyperlinked subclass names.  If you select a
> link, you will see the parameters accepted by the specific solver.
> For example, here is the page for PseudoBlockGMRES:
> https://trilinos.org/docs/dev/packages/belos/doc/html/classBelos_1_1PseudoB
> lockGmresSolMgr.html
> Scroll down the page to see the parameters that can be used.
> Does this help?
> Thanks.
> Mike
> On 2/7/19, 2:13 PM, "Trilinos-Users on behalf of Ben Cowan" <trilinos-users-
> bounces at trilinos.org on behalf of benc at txcorp.com> wrote:
>     Hi All,
>     Is there a reference for the Belos solver types and the parameters available
> for them through ParameterLists, like there is for AztecOO? I can glean a few
> options from the source, but it’s hard to get a complete picture that way.
>     Thanks,
>     Ben
>     _______________________________________________
>     Trilinos-Users mailing list
>     Trilinos-Users at trilinos.org
>     https://urldefense.proofpoint.com/v2/url?u=https-
> 3A__trilinos.org_mailman_listinfo_trilinos-
> 2Dusers&d=DwIGaQ&c=Cvk6809QJWx44KVfpEaK-g&r=s0Cs_B6-
> 5lnucqIc3AS5jW688PqfYiw9JNMZS0NXqtY&m=lYsOsjsJZ-2R-
> ANEz76jmMvZchAOnLmnwHPrfFAdDsg&s=i7maObOiugCAE922IDONiKk9ZLiD4Ej
> Dw7mNHKrxiao&e=
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at trilinos.org
> https://trilinos.org/mailman/listinfo/trilinos-users

More information about the Trilinos-Users mailing list