[petsc-dev] PCRedundant problem

Hong Zhang hzhang at mcs.anl.gov
Mon Oct 15 16:37:32 CDT 2012


Stefano :

> Hong, INTERLACED is the default since
> http://petsc.cs.iit.edu/petsc/petsc-dev/rev/67df4fdba5bd
>
> See also http://petsc.cs.iit.edu/petsc/petsc-dev/rev/c04222d17a3d


Hmm, you are correct :-(


> Hong, in petsc-dev, default is interlaced. I ran some tests, I got malloc
>> errors when inserting mat values using subcomm of contiguous type. I think
>> that PCRedundant with PETSC_SUBCOMM_CONTIGUOUS is buggy.
>
>
PETSC_SUBCOMM_CONTIGUOUS was introduced for  multiprocessor bjacobi
preconditioner,
which has not been used/tested in other situations, likely causes problems.
Can you send us a stand-alone code that reproduces the malloc errors?

Hong

>
>>
>> 2012/10/15 Hong Zhang <hzhang at mcs.anl.gov>
>>
>>> Stefano :
>>>
>>>>
>>>> is it possible to use PCRedundant with PETSC_SUBCOMM_CONTIGUOUS as
>>>> subcomm type?
>>>>
>>> I think "PETSC_SUBCOMM_CONTIGUOUS" is the default for PCRedundant.
>>>
>>> Hong
>>>
>>
>>
>>
>> --
>> Stefano
>>
>
>
>
> --
> Stefano
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20121015/175c7988/attachment.html>


More information about the petsc-dev mailing list