[petsc-users] Cholesky factorization

Matthew Knepley knepley at gmail.com
Tue Jan 8 12:35:26 CST 2013


On Tue, Jan 8, 2013 at 12:33 PM, Petar Petrovic <ppetrovic573 at gmail.com>wrote:

> 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.
>

You need to activate 3rd party packages during configure, e.g.
--download-umfpack.

http://www.mcs.anl.gov/petsc/documentation/installation.html

   Matt


> 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
>>
>
>


-- 
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/7029ed13/attachment.html>


More information about the petsc-users mailing list