Re: [petsc-users] PetscTableCreateHashSize

2017-01-10 Thread Satish Balay
With configure option: --with-ctable= Satish On Tue, 10 Jan 2017, Kong, Fande wrote: > BTW, one more question: > > There are some pieces of code in #if defined(PETSC_USE_CTABLE) #endif. > How to disable ctable? That is, make PETSC_USE_CTABLE false during > configuration. > > Fande, >

Re: [petsc-users] PetscTableCreateHashSize

2017-01-10 Thread Kong, Fande
BTW, one more question: There are some pieces of code in #if defined(PETSC_USE_CTABLE) #endif. How to disable ctable? That is, make PETSC_USE_CTABLE false during configuration. Fande, On Tue, Jan 10, 2017 at 12:33 AM, Jed Brown wrote: > Satish Balay

Re: [petsc-users] Call multiple error handler

2017-01-10 Thread Barry Smith
I do not understand what you mean. I hope this is C. By default when an error is detected PetscError using PetscTraceBackErrorHandler returns up the stack printing the function/line number then returning to the next function which prints the function/line number until it gets up to the

[petsc-users] Call multiple error handler

2017-01-10 Thread Florian Lindner
Hello, I really enjoy the verbosity (line number) of the default PetscTraceBackErrorHandler. However, I want my application to be aborted with the PetscMPIAbortErrorHandler when an error occures. Can I instruct PETSc to call first one handler, then another one? Thanks, Florian