On Wed, Dec 30, 2015 at 5:40 PM, Vikram Garg <vikram.v.g...@gmail.com>
wrote:

> Entire command line was:
>
> ./program-name -pc_type lu -ksp-monitor
>

PETSc's default KSP type is gmres. You need:

-ksp_type preonly -pc_type lu -pc_factor_mat_solver_package mumps (or
superlu or superlu_dist)

-ksp_monitor and -ksp_view are also good ideas.
------------------------------------------------------------------------------
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to