[petsc-users] KSP and SuperLu, Umfpack
Hong Zhang
hzhang at mcs.anl.gov
Mon Mar 7 09:48:24 CST 2011
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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ex52.c
Type: text/x-csrc
Size: 11226 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110307/955dfd1a/attachment.c>
More information about the petsc-users
mailing list