[petsc-users] Nonconforming object sizes in axpy

Stefano Zampini stefano.zampini at gmail.com
Wed Feb 27 17:33:37 CST 2019



> On Feb 27, 2019, at 3:25 PM, Marius Buerkle <mbuerkle at web.de> wrote:
> 
> Ok. I also tried without openmp which gave the same error. 
> The segfault left aside, is MatAXPY supposed to work when Y is of type ELEMENTAL and X of type MATMPIAIJ ? It worked before but now it stops with mat elemental not supported.
> 

I cannot find the error line that says Not supported for elemental.
The error PETSc is raising in the log you sent is  with respect to the nonconforming object sizes (which BTW are correct).
Could you please send the backtrace (without openmp) for the error regarding “mat elemental not supported”?



> 
>> Von: "Stefano Zampini" <stefano.zampini at gmail.com>
>> An: "Marius Buerkle" <mbuerkle at web.de>
>> Cc: "Matthew Knepley" <knepley at gmail.com>, "PETSc users list" <petsc-users at mcs.anl.gov>
>> Betreff: Re: [petsc-users] Nonconforming object sizes in axpy
>> 
>> If you check ALL ERROR CODES by doing
>> ierr = _AnyPetscCall_();CHKERRQ(ierr);
>> The code will stop at the first error 
>> 
>> I see you are using openmp. Probably this is causing the problem, I don’t know what to say without a MWE.
>> 
>> 
>>> On Feb 25, 2019, at 10:50 PM, Marius Buerkle <mbuerkle at web.de> wrote:
>>> 
>>> <error_output.tar.gz>
>> 
>> 



More information about the petsc-users mailing list