[petsc-users] Cholesky factorization
Jed Brown
jedbrown at mcs.anl.gov
Tue Jan 8 14:33:37 CST 2013
On Tue, Jan 8, 2013 at 2:25 PM, Petar Petrovic <ppetrovic573 at gmail.com>wrote:
> Thanks, but is there any way to check if the package is already installed?
> My problem is that I run the PETSc installation someone already set up and
> I don't have the access to change it. I have tried running ./configure
> --help in the directory PETSc is installed, but it just reports the error
> because I don't have the access permition.
>
Look at the (a) the end of configure.log or (b)
$PETSC_DIR/$PETSC_ARCH/include/petscconf.h
> Also, sorry I didn't understand, are the directives in the code enough or
> do I have to run my mpiexec command with additional options?
>
You don't need command line flags.
>
>
> On Tue, Jan 8, 2013 at 1:35 PM, Matthew Knepley <knepley at gmail.com> wrote:
>
>> 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/c032fd51/attachment-0001.html>
More information about the petsc-users
mailing list