Thanks!!! :)<br><br><div class="gmail_quote">2011/3/7 Hong Zhang <span dir="ltr"><<a href="mailto:hzhang@mcs.anl.gov">hzhang@mcs.anl.gov</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
See petsc-dev/src/ksp/ksp/examples/tutorials/ex52.c (attached).<br>
<font color="#888888"><br>
Hong<br>
</font><div><div></div><div class="h5"><br>
On Mon, Mar 7, 2011 at 9:15 AM, Matthew Knepley <<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>> wrote:<br>
> On Mon, Mar 7, 2011 at 9:11 AM, Sylvain Desroziers<br>
> <<a href="mailto:sylvain.desroziers@gmail.com">sylvain.desroziers@gmail.com</a>> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> I'm trying to use SuperLu and Umfpack LU solvers with Ksp. Using<br>
>> "-ksp_type preonly -pc_type lu -pc_factor_mat_solver_package superlu [or<br>
>> umpfpack]", there's no problem.<br>
>><br>
>> But I don't know how to configure ksp without command line options... How<br>
>> to choose and switch external pāckage ?<br>
><br>
> <a href="http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/docs/manualpages/PC/PCFactorSetMatSolverPackage.html" target="_blank">http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/docs/manualpages/PC/PCFactorSetMatSolverPackage.html</a><br>
> Matt<br>
><br>
>><br>
>> Thanks,<br>
>><br>
>> Sylvain<br>
>><br>
>> --<br>
>> --<br>
>> (\__/)<br>
>> (='.'=)<br>
>> (")_(")<br>
>> Ceci est un petit lapin. Copiez/collez-le dans votre signature pour<br>
>> l'aider ą dominer le monde<br>
><br>
><br>
><br>
> --<br>
> What most experimenters take for granted before they begin their experiments<br>
> is infinitely more interesting than any results to which their experiments<br>
> lead.<br>
> -- Norbert Wiener<br>
><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>-- <br>(\__/)<br>(='.'=) <br>(")_(")<br>Ceci est un petit lapin. Copiez/collez-le dans votre signature pour l'aider ą dominer le monde<br>