1: #include "../src/dm/impls/forest/p4est/petsc_p4est_package.h" 2: #include <p4est_base.h> 4: static char help[] = "Test interaction with p4est/libsc error and logging routines\n"; 6: int main(int argc, char **argv) { 9: PetscInitialize(&argc,&argv,NULL,help); 10: PetscP4estInitialize(); 11: PetscStackCallP4est(sc_abort_verbose,(__FILE__,__LINE__,"Abort in main()\n")); 12: PetscFinalize(); 13: return 0; 14: }