[petsc-users] To use SuperLU as a direct solver

Matthew Knepley knepley at gmail.com
Wed Jul 27 18:10:27 CDT 2011


On Wed, Jul 27, 2011 at 10:01 PM, Xuefei (Rebecca) Yuan <xyuan at lbl.gov>wrote:

> Hello,
>
> I would like to use SuperLU as a direct solver for a large size problem
> running on multiple processors.
>
> I have write the analytical Jacobian via FormJacobianLocal(), however, I do
> not know how to set the direct solver.
>
> Any thoughts?
>

You need SuperlU_Dist:

-ksp_type preonly -pc_type lu -pc_factor_mat_solver_package superlu_dist

   Matt


> Thanks a lot!
>
> Rebecca
>
>
>


-- 
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110727/9e042a03/attachment.htm>


More information about the petsc-users mailing list