[petsc-users] KSP and SuperLu, Umfpack

Sylvain Desroziers sylvain.desroziers at gmail.com
Mon Mar 7 14:53:36 CST 2011


Thanks!!! :)

2011/3/7 Hong Zhang <hzhang at mcs.anl.gov>

> See petsc-dev/src/ksp/ksp/examples/tutorials/ex52.c (attached).
>
> Hong
>
> On Mon, Mar 7, 2011 at 9:15 AM, Matthew Knepley <knepley at gmail.com> wrote:
> > On Mon, Mar 7, 2011 at 9:11 AM, Sylvain Desroziers
> > <sylvain.desroziers at gmail.com> wrote:
> >>
> >> Hi,
> >>
> >> I'm trying to use SuperLu and Umfpack LU solvers with Ksp. Using
> >> "-ksp_type preonly -pc_type lu -pc_factor_mat_solver_package superlu [or
> >> umpfpack]", there's no problem.
> >>
> >> But I don't know how to configure ksp without command line options...
> How
> >> to choose and switch external pâckage ?
> >
> >
> http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/docs/manualpages/PC/PCFactorSetMatSolverPackage.html
> >    Matt
> >
> >>
> >> Thanks,
> >>
> >> Sylvain
> >>
> >> --
> >> --
> >> (\__/)
> >> (='.'=)
> >> (")_(")
> >> Ceci est un petit lapin.  Copiez/collez-le dans votre signature pour
> >> l'aider à dominer le monde
> >
> >
> >
> > --
> > 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
> >
>



-- 
-- 
(\__/)
(='.'=)
(")_(")
Ceci est un petit lapin.  Copiez/collez-le dans votre signature pour l'aider
à dominer le monde
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110307/d17b352a/attachment.htm>


More information about the petsc-users mailing list