I've got the following piece of code
problem = LinearVariationalProblem(aLin, L, u, bc)
solver = LinearVariationalSolver(problem)
solver.parameters["linear_solver"] ="lu"
solver.solve()
and no matter what I select for the linear solver, I see in the command line:
Solving linear variational problem.
Calling FFC just-in-time (JIT) compiler, this may take some time.
Solving linear system of size 289 x 289 (uBLAS Krylov solver).
*** Warning: Conjugate-gradient method not yet programmed for uBLASKrylovSolver. Using GMRES.
Krylov solver converged in 4 iterations
For the problem that I am interested in (studying a particular algorithm), I would like to eliminate the numerical linear algebra error, either by using a direct solver, or by performing more GMRES iterations.