Barry,
Thanks.
Sam
On Tuesday, March 16, 2021, Barry Smith wrote:
>
> Sam,
>
>You can pass a simple C function to PetscPushErrorHandler() that prints
> the top message and then immediately aborts to get the effect you want. But
> I agree with Dave you lose a lot of useful information
Dave,
You made a very point.
Thanks,
Sam
On Tuesday, March 16, 2021, Dave May wrote:
>
>
> On Tue, 16 Mar 2021 at 19:50, Sam Guo wrote:
>
>> Dear PETSc dev team,
>>When there is an PETSc error, I go following overly verbose error
>> message. Is it possible to get a simple error message
Sam,
You can pass a simple C function to PetscPushErrorHandler() that prints the
top message and then immediately aborts to get the effect you want. But I agree
with Dave you lose a lot of useful information by producing such a simple error
message.
Barry
> On Mar 16, 2021, at 5:43
On Tue, 16 Mar 2021 at 19:50, Sam Guo wrote:
> Dear PETSc dev team,
>When there is an PETSc error, I go following overly verbose error
> message. Is it possible to get a simple error message like "Initial vector
> is zero or belongs to the deflection space"?
>
>
When an error occurs and the
Dear PETSc dev team,
When there is an PETSc error, I go following overly verbose error
message. Is it possible to get a simple error message like "Initial vector
is zero or belongs to the deflection space"?
Thanks,
Sam
[0]PETSC ERROR: - Error Message