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 12*4e29e845SStefano Zampini[0]PETSC ERROR: --------------------- Error Message -------------------------------------------------------------- 1315858b40SBarry Smith[0]PETSC ERROR: It appears a new error in the code was triggered after a previous error was not properly handled 1415858b40SBarry Smith[0]PETSC ERROR: via (for example) the use of PetscCall(TheFunctionThatErrors()); 1515858b40SBarry Smith[0]PETSC ERROR: ALL ERRORS in the PETSc libraries are fatal, you should add the appropriate error checking to the code 1615858b40SBarry Smith[0]PETSC ERROR: Error Created 1715858b40SBarry Smith[0]PETSC ERROR: See https://petsc.org/release/faq/ for trouble shooting. 1815858b40SBarry Smith[0]PETSC ERROR: #1 CreateError() at ex66.c:0 1915858b40SBarry Smith[0]PETSC ERROR: #2 CreateError() at ex66.c:0 2015858b40SBarry Smith[0]PETSC ERROR: #3 CreateError() at ex66.c:0 2115858b40SBarry Smith[0]PETSC ERROR: #4 CreateError() at ex66.c:0 2215858b40SBarry Smith[0]PETSC ERROR: #5 CreateError() at ex66.c:0 2315858b40SBarry Smith[0]PETSC ERROR: #6 CreateError() at ex66.c:0 24*4e29e845SStefano Zampini[0]PETSC ERROR: --------------------- Error Message -------------------------------------------------------------- 25*4e29e845SStefano Zampini[0]PETSC ERROR: It appears a new error in the code was triggered after a previous error was not properly handled 26*4e29e845SStefano Zampini[0]PETSC ERROR: via (for example) the use of PetscCall(TheFunctionThatErrors()); 27*4e29e845SStefano Zampini[0]PETSC ERROR: ALL ERRORS in the PETSc libraries are fatal, you should add the appropriate error checking to the code 28*4e29e845SStefano Zampini[0]PETSC ERROR: Error Created 29*4e29e845SStefano Zampini[0]PETSC ERROR: See https://petsc.org/release/faq/ for trouble shooting. 30*4e29e845SStefano Zampini[0]PETSC ERROR: #1 CreateError() at ex66.c:0 31*4e29e845SStefano Zampini[0]PETSC ERROR: #2 CreateError() at ex66.c:0 32*4e29e845SStefano Zampini[0]PETSC ERROR: #3 CreateError() at ex66.c:0 33*4e29e845SStefano Zampini[0]PETSC ERROR: #4 CreateError() at ex66.c:0 34*4e29e845SStefano Zampini[0]PETSC ERROR: #5 CreateError() at ex66.c:0 35*4e29e845SStefano Zampini[0]PETSC ERROR: #6 CreateError() at ex66.c:0 36*4e29e845SStefano Zampini[0]PETSC ERROR: #7 main() at ex66.c:0 3715858b40SBarry Smith[0]PETSC ERROR: No PETSc Option Table entries 3815858b40SBarry Smith[0]PETSC ERROR: ----------------End of Error Message -------send entire error message to petsc-maint@mcs.anl.gov---------- 39