[petsc-users] Cholesky factorization

Petar Petrovic ppetrovic573 at gmail.com
Tue Jan 8 12:33:16 CST 2013


Thank you very much.
Can you tell me how to set the package that is used for MatCholeskyFactor?
I need it to run for a sparse matrix so I have tried using:

#ifdef PETSC_HAVE_CHOLMOD
...
#endif

but the code inside doesn't run. Does this mean that the package is not
installed or am I supposed to do something else, use some command line
options or something? Sorry these are very basic questions, but I am new to
PETSc and I cannot seem to find examples for this.


On Tue, Jan 8, 2013 at 12:24 PM, Matthew Knepley <knepley at gmail.com> wrote:

> http://www.mcs.anl.gov/petsc/documentation/linearsolvertable.html
>
>    Matt
>
>
> On Tue, Jan 8, 2013 at 11:21 AM, Petar Petrovic <ppetrovic573 at gmail.com>wrote:
>
>> Hello,
>> Can you please tell me for which type of matrices can I run Cholesky
>> factorization (MatCholeskyFactor) ? Can it be applied on sparse matrices,
>> e.g. MATAIJ ?
>> Many thanks
>>
>
>
>
> --
> 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/20130108/f13afc7b/attachment.html>


More information about the petsc-users mailing list