uBLAS Krylov solver warns when "ilu" is chosen

Bug #919129 reported by Anders Logg
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DOLFIN
Fix Released
Medium
Anders Logg

Bug Description

Calling solve(A, x, b, "gmres", "ilu") for the uBLAS backend gives the following warning:

*** Warning: Requested preconditioner is not available for uBLAS Krylov solver. Using ILU.

Anders Logg (logg)
Changed in dolfin:
status: New → Confirmed
milestone: none → 1.0.1
assignee: nobody → Anders Logg (logg)
importance: Undecided → Medium
Revision history for this message
Felix Ospald (felix-ospald) wrote :

Thist is because of select_preconditioner(method) should be select_preconditioner(preconditioner) in

uBLASKrylovSolver::uBLASKrylovSolver(std::string method,
                                     std::string preconditioner)
  : method(method), report(false)
{
  // Set parameter values
  parameters = default_parameters();

  // Select and create default preconditioner
  select_preconditioner(method);
}

Anders Logg (logg)
Changed in dolfin:
status: Confirmed → Fix Committed
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.