[petsc-dev] When __FUNCT__ is wrong

Barry Smith bsmith at mcs.anl.gov
Sat Aug 28 18:17:46 CDT 2010


  Fixed the MatSeqBAIJSetNumericFactorization_inplace() on it was missing

  Don't know why MatMult_SeqSBAIJ_1_ushort doesn't work. I guess someone who cares like Jed will have to figure it out. Or maybe you have outdated petsc-dev?

   Barry

On Aug 28, 2010, at 5:24 PM, Lisandro Dalcin wrote:

> On 27 August 2010 17:54, Jed Brown <jed at 59a2.org> wrote:
>> On Fri, 27 Aug 2010 12:45:46 -0500, Barry Smith <bsmith at mcs.anl.gov> wrote:
>>> 
>>>   Jed,
>>> 
>>>       You are certainly welcome to add it.
>> 
>> fdbdc93647ff
>> 
>> This just writes inconsistencies via PetscErrorPrintf, only in debug
>> mode.  I think I've gotten all the major inconsistencies in PETSc
>> proper, Sieve might have more, but I don't have a current build of that.
>> 
>> Note that this might be noisy for user code that redefine __FUNCT__, but
>> not everywhere.  If this bothers anyone, we could add a configure option
>> to turn this, and only this, on and off.
>> 
>> Jed
>> 
> 
> running test_mat_fact
> ........[0]PETSC ERROR: src/mat/impls/baij/seq/baijfact3.c:80:
> __FUNCT__="MatSeqBAIJSetNumericFactorization" does not agree with
> __func__="MatSeqBAIJSetNumericFactorization_inplace"
> ..[0]PETSC ERROR: src/mat/impls/baij/seq/baijfact3.c:80:
> __FUNCT__="MatSeqBAIJSetNumericFactorization" does not agree with
> __func__="MatSeqBAIJSetNumericFactorization_inplace"
> ....[0]PETSC ERROR:
> src/mat/impls/sbaij/seq//u/dalcinl/Devel/PETSc/petsc-dev/include/../src/mat/impls/sbaij/seq/relax.h:80:
> __FUNCT__="MatMult_SeqSBAIJ_1" does not agree with
> __func__="MatMult_SeqSBAIJ_1_ushort"
> .[0]PETSC ERROR:
> src/mat/impls/sbaij/seq//u/dalcinl/Devel/PETSc/petsc-dev/include/../src/mat/impls/sbaij/seq/relax.h:80:
> __FUNCT__="MatMult_SeqSBAIJ_1" does not agree with
> __func__="MatMult_SeqSBAIJ_1_ushort"
> .
> 
> 
> No chance right now to look at these...
> 
> -- 
> Lisandro Dalcin
> ---------------
> CIMEC (INTEC/CONICET-UNL)
> Predio CONICET-Santa Fe
> Colectora RN 168 Km 472, Paraje El Pozo
> Tel: +54-342-4511594 (ext 1011)
> Tel/Fax: +54-342-4511169




More information about the petsc-dev mailing list