[petsc-users] Petsc direct solver

Satish Balay balay at mcs.anl.gov
Fri Sep 9 22:49:50 CDT 2011


On Sat, 10 Sep 2011, amrit poudel wrote:

> 
> Thanks Satish for the clarification.
> 
> If I use the following run time option why does the mumps get ignored as per the warning shown down below?
> 
> -ksp_type preonly -pc_type none -pc_factor_mat_solver_package mumps

As mentioned to you twice already - mumps is a component of '-pc_type lu' so you need:

-ksp_type preonly -pc_type lu -pc_factor_mat_solver_package mumps

> As I understand it, this should read, no Krylov subspace method, no preconditioner, use direct solver.

'-pc_type lu' *IS* the direct solver in PETSc. There is no separate -directsolver category in PETSc.

Satish


More information about the petsc-users mailing list