Better PETSc error logging

Merged
#289 · Created  · Last updated

Merged pull request

Merge branch 'jan/petsc-err-msg'

15c2bef·Author: ·Closed by: ·2016-09-01

Description

Log information about PETSc errors at log level TRACE. Improve the PETScObject::petsc_error message with a description of PETSc error code. To test run

from dolfin import * set_log_level(TRACE) # Let the option table overflow to see some PETSc error i = 0 while True: i += 1 PETScOptions().set('-foo%d' % i)

0 attachments

0 comments

Loading commits...