115858b40SBarry SmithDemonstrates PETSc Error Handlers 215858b40SBarry SmithThe error is a contrived error to test error handling 315858b40SBarry Smith[0]PETSC ERROR: --------------------- Error Message -------------------------------------------------------------- 415858b40SBarry Smith[0]PETSC ERROR: Error Created 515858b40SBarry Smith[0]PETSC ERROR: See https://petsc.org/release/faq/ for trouble shooting. 615858b40SBarry Smith[0]PETSC ERROR: #1 CreateError() at ex66.c:0 715858b40SBarry Smith[0]PETSC ERROR: #2 CreateError() at ex66.c:0 815858b40SBarry Smith[0]PETSC ERROR: #3 CreateError() at ex66.c:0 915858b40SBarry Smith[0]PETSC ERROR: #4 CreateError() at ex66.c:0 1015858b40SBarry Smith[0]PETSC ERROR: #5 CreateError() at ex66.c:0 1115858b40SBarry Smith[0]PETSC ERROR: #6 CreateError() at ex66.c:0 124e29e845SStefano Zampini[0]PETSC ERROR: --------------------- Error Message -------------------------------------------------------------- 13*9beb8f72SToby Isaac[0]PETSC ERROR: It appears a new error in the code was triggered after a previous error, possibly because: 14*9beb8f72SToby Isaac[0]PETSC ERROR: - The first error was not properly handled via (for example) the use of 15*9beb8f72SToby Isaac[0]PETSC ERROR: PetscCall(TheFunctionThatErrors()); or 16*9beb8f72SToby Isaac[0]PETSC ERROR: - The second error was triggered while handling the first error. 17*9beb8f72SToby Isaac[0]PETSC ERROR: Above is the traceback for the previous unhandled error, below the traceback for the next error 1815858b40SBarry Smith[0]PETSC ERROR: ALL ERRORS in the PETSc libraries are fatal, you should add the appropriate error checking to the code 1915858b40SBarry Smith[0]PETSC ERROR: Error Created 2015858b40SBarry Smith[0]PETSC ERROR: See https://petsc.org/release/faq/ for trouble shooting. 2115858b40SBarry Smith[0]PETSC ERROR: #1 CreateError() at ex66.c:0 2215858b40SBarry Smith[0]PETSC ERROR: #2 CreateError() at ex66.c:0 2315858b40SBarry Smith[0]PETSC ERROR: #3 CreateError() at ex66.c:0 2415858b40SBarry Smith[0]PETSC ERROR: #4 CreateError() at ex66.c:0 2515858b40SBarry Smith[0]PETSC ERROR: #5 CreateError() at ex66.c:0 2615858b40SBarry Smith[0]PETSC ERROR: #6 CreateError() at ex66.c:0 274e29e845SStefano Zampini[0]PETSC ERROR: --------------------- Error Message -------------------------------------------------------------- 28*9beb8f72SToby Isaac[0]PETSC ERROR: It appears a new error in the code was triggered after a previous error, possibly because: 29*9beb8f72SToby Isaac[0]PETSC ERROR: - The first error was not properly handled via (for example) the use of 30*9beb8f72SToby Isaac[0]PETSC ERROR: PetscCall(TheFunctionThatErrors()); or 31*9beb8f72SToby Isaac[0]PETSC ERROR: - The second error was triggered while handling the first error. 32*9beb8f72SToby Isaac[0]PETSC ERROR: Above is the traceback for the previous unhandled error, below the traceback for the next error 334e29e845SStefano Zampini[0]PETSC ERROR: ALL ERRORS in the PETSc libraries are fatal, you should add the appropriate error checking to the code 344e29e845SStefano Zampini[0]PETSC ERROR: Error Created 354e29e845SStefano Zampini[0]PETSC ERROR: See https://petsc.org/release/faq/ for trouble shooting. 364e29e845SStefano Zampini[0]PETSC ERROR: #1 CreateError() at ex66.c:0 374e29e845SStefano Zampini[0]PETSC ERROR: #2 CreateError() at ex66.c:0 384e29e845SStefano Zampini[0]PETSC ERROR: #3 CreateError() at ex66.c:0 394e29e845SStefano Zampini[0]PETSC ERROR: #4 CreateError() at ex66.c:0 404e29e845SStefano Zampini[0]PETSC ERROR: #5 CreateError() at ex66.c:0 414e29e845SStefano Zampini[0]PETSC ERROR: #6 CreateError() at ex66.c:0 424e29e845SStefano Zampini[0]PETSC ERROR: #7 main() at ex66.c:0 4315858b40SBarry Smith[0]PETSC ERROR: ----------------End of Error Message -------send entire error message to petsc-maint@mcs.anl.gov---------- 44