[petsc-users] Accessing MUMPS INFOG values

Hong Zhang hzhang at mcs.anl.gov
Mon Jun 9 09:46:05 CDT 2014


M Asghar :

> Many thanks for the quick reply! I can see calls to MatMumpsGetInfog in
> ex52.c.
>
> * This is in PETSc's dev copy if I'm not mistaken - will this make it into
> the next PETSc release?
> * Will/does this have a Fortran equivalent?

The Fortran equivalent is added to petsc master branch and will be
released soon.
See ex52f.F

Hong

>
> On Thu, May 29, 2014 at 4:43 PM, Hong Zhang <hzhang at mcs.anl.gov> wrote:
>>
>> Asghar:
>> > Is it possible to access the contents of MUMPS array INFOG (and INFO,
>> > RINFOG
>> > etc) via the PETSc interface?
>>
>> Yes. Use the latest petsc (master branch).
>> See petsc/src/ksp/ksp/examples/tutorials/ex52.c
>>
>> Hong
>> >
>> > I am working with SLEPc and am using MUMPS for the factorisation. I
>> > would
>> > like to access the contents of their INFOG array within our code
>> > particularly when an error occurs in order to determine whether any
>> > remedial
>> > action can be taken. The error code returned from PETSc is useful; any
>> > additional information from MUMPS that can be accessed from within ones
>> > code
>> > would be very helpful also.
>> >
>> > Many thanks in advance.
>> >
>> > M Asghar
>> >
>
>


More information about the petsc-users mailing list