How to report a progress of KrylovSchur solver

21 views
Skip to first unread message

Loylick

unread,
Dec 5, 2020, 6:09:10 AM12/5/20
to deal.II User Group

Hi everyone,
I solve some eigenvalue problem with SLEPcWrappers::SolverKrylovSchur solver.
I takes several hours to accomplish the task and I wonder if there is a way to report a progress back from the solver to show for example a number of iterations passed?

Alex

Wolfgang Bangerth

unread,
Dec 6, 2020, 7:11:21 PM12/6/20
to dea...@googlegroups.com
I don't think there is a way already implemented. The code for this class can
be found here:
https://github.com/dealii/dealii/blob/master/source/lac/slepc_solver.cc
in the SolverBase::solve() function. The key function invokation is EPSSolve()
-- that's where all of your time is spent. The question is whether this
function (from the SLEPc library) allows attaching a callback that provides
information about progress.

If you could check this in the documentation of the SLEPc library, we'd be
happy to work with you on integrating this possibility into deal.II.

Best
W.

--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/

Reply all
Reply to author
Forward
0 new messages