[Dune-devel] Parallel solvers in dune-istl
Martin Nolte
nolte at mathematik.uni-freiburg.de
Mon Jan 8 15:05:52 CET 2018
Hi Oli,
The dune-istl solvers print verbose information on every rank you ask it to. If
you pass in verbose = 2*(rank == 0), you will end up with the desired result. I
checked the solvers and the implementation does not require verbose to be equal
on all ranks. I cannot, however, tell you whether this behavior is specified or
intended in any way.
Best,
Martin
On 01/08/2018 02:27 PM, Oliver Sander wrote:
> Dear dune,
>
> I am trying to implement a distributed Poisson solver using only
> dune-grid and dune-istl. The algorithm shall be a preconditioned
> CG method. My current understanding of dune-istl is that I should
> use the standard CGSolver implementation for this, and parallelization
> happens in dedicated ScalarProduct, Preconditioner, and LinearOperator
> implementations. This approach works, but the CGSolver class prints
> all information about the current residual, estimated conv rate etc.
> on _all_ processes. Is this the expected behavior? Why? It gets
> annoying pretty quickly.
>
> Did anybody else ever implement a Poisson solver using only dune-istl
> and dune-grid? My own works, but it does not look very natural to me.
> I would appreciate a look at alternative implementations.
>
> Thanks,
> Oliver
>
>
>
> _______________________________________________
> Dune-devel mailing list
> Dune-devel at lists.dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-devel
>
--
Dr. Martin Nolte <nolte at mathematik.uni-freiburg.de>
Universität Freiburg phone: +49-761-203-5630
Abteilung für angewandte Mathematik fax: +49-761-203-5632
Hermann-Herder-Straße 10
79104 Freiburg, Germany
More information about the Dune-devel
mailing list