divergence?

Satish Balay balay at mcs.anl.gov
Mon Mar 20 13:13:33 CST 2006


On Mon, 20 Mar 2006, buket at be.itu.edu.tr wrote:

> Hello again,
> 
> I want to compare the iterative methods with direct methods in terms of time.
> What functions can I use for direct solution?

-pc_type lu -ksp_type preonly

To use parallel direct solvers - you'll have to install PETSc with one
of the direct solver external packages [SuperLU_DIST, spooles, MPUMPS]

With these - you can do - for eg:

-mat_type superlu_dist -pc_type lu -ksp_type preonly

Satish




More information about the petsc-users mailing list