15c2bef·Author: Jan Blechta·Closed by: Jan Blechta·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)
Log information about PETSc errors at log level
TRACE
. Improve thePETScObject::petsc_error
message with a description of PETSc error code. To test runfrom 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)