| /petsc/src/sys/error/ |
| H A D | signal.c | 138 signal(sig, SIG_DFL); 211 signal(SIGBUS, PETSC_SIGNAL_CAST PetscSignalHandler_Private); 217 signal(SIGFPE, PETSC_SIGNAL_CAST PetscSignalHandler_Private); 226 signal(SIGHUP, PETSC_SIGNAL_CAST PetscSignalHandler_Private); 231 signal(SIGILL, PETSC_SIGNAL_CAST PetscSignalHandler_Private); 237 signal(SIGPIPE, PETSC_SIGNAL_CAST PetscSignalHandler_Private); 240 signal(SIGQUIT, PETSC_SIGNAL_CAST PetscSignalHandler_Private); 243 signal(SIGSEGV, PETSC_SIGNAL_CAST PetscSignalHandler_Private); 246 signal(SIGSYS, PETSC_SIGNAL_CAST PetscSignalHandler_Private); 251 signal(SIGTERM, PETSC_SIGNAL_CAST PetscSignalHandler_Private); [all …]
|
| H A D | fp.c | 380 signal(SIGFPE, (void (*)(int))PetscDefaultFPTrap); 385 signal(SIGFPE, SIG_DFL); 419 …PetscCheck(SIG_ERR != signal(SIGFPE, PetscDefaultFPTrap), PETSC_COMM_SELF, PETSC_ERR_LIB, "Can't s… 422 …PetscCheck(SIG_ERR != signal(SIGFPE, SIG_DFL), PETSC_COMM_SELF, PETSC_ERR_LIB, "Can't clear floati… 534 …PetscCheck(SIG_ERR != signal(SIGFPE, PetscDefaultFPTrap), PETSC_COMM_SELF, PETSC_ERR_LIB, "Can't s… 538 …PetscCheck(SIG_ERR != signal(SIGFPE, SIG_DFL), PETSC_COMM_SELF, PETSC_ERR_LIB, "Can't clear floati… 592 …PetscCheck(SIG_ERR != signal(SIGFPE, PetscDefaultFPTrap), PETSC_COMM_SELF, PETSC_ERR_LIB, "Can't s… 600 …PetscCheck(SIG_ERR != signal(SIGFPE, SIG_DFL), PETSC_COMM_SELF, PETSC_ERR_LIB, "Can't clear floati… 629 …if (SIG_ERR == signal(SIGFPE, PetscDefaultFPTrap)) PetscCall((*PetscErrorPrintf)("Can't set floati… 630 …} else if (SIG_ERR == signal(SIGFPE, SIG_DFL)) PetscCall((*PetscErrorPrintf)("Can't clear floating…
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/util/ |
| H A D | _timeout.py | 10 import signal 51 signal.signal(signal.SIGALRM, timeout_handler) 52 signal.alarm(seconds) 57 signal.alarm(0)
|
| /petsc/config/BuildSystem/config/utilities/ |
| H A D | missing.py | 82 …for signal in ['ABRT', 'ALRM', 'BUS', 'CHLD', 'CONT', 'FPE', 'HUP', 'ILL', 'INT', 'KILL', 'PIP… 84 if not self.checkCompile('#include <signal.h>\n', 'int i=SIG'+signal+';\n(void)i'): 85 self.addDefine('MISSING_SIG'+signal, 1)
|
| /petsc/share/petsc/ |
| H A D | chkerrconvert.py | 297 import signal 299 signal.signal(signal.SIGPIPE,signal.SIG_DFL) # allow the output of this script to be piped
|
| /petsc/src/sys/tests/output/ |
| H A D | ex2_1_alt.out | 1 [0]PETSC ERROR: Caught signal number 4 Illegal instruction: Likely due to memory corruption
|
| H A D | ex73_0_alt_2.out | 2 [0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of…
|
| /petsc/src/sys/objects/device/impls/sycl/ |
| H A D | sycldevice.sycl.cxx | 108 const auto SyclSignalHandler = [](int signal, void *ptr) -> PetscErrorCode { in isMPISyclAware_() argument 109 if ((signal == SIGSEGV) && MPISyclAwareJumpBufferSet) std::longjmp(MPISyclAwareJumpBuffer, 1); in isMPISyclAware_() 110 return PetscSignalHandlerDefault(signal, ptr); in isMPISyclAware_()
|
| /petsc/src/sys/objects/device/impls/cupm/ |
| H A D | cupmdevice.cxx | 193 const auto cupmSignalHandler = [](int signal, void *ptr) -> PetscErrorCode { in CUPMAwareMPI_() argument 194 if ((signal == SIGSEGV) && cupmMPIAwareJumpBufferSet) std::longjmp(cupmMPIAwareJumpBuffer, 1); in CUPMAwareMPI_() 195 return PetscSignalHandlerDefault(signal, ptr); in CUPMAwareMPI_()
|
| /petsc/src/sys/classes/viewer/impls/glvis/ |
| H A D | glvis.c | 801 signal(SIGPIPE, SIG_IGN); in PetscGLVisSigHandler_SIGPIPE() 810 PetscGLVisSigHandler_save = signal(SIGPIPE, PetscGLVisSigHandler_SIGPIPE); in PetscGLVisCollectiveBegin() 828 (void)signal(SIGPIPE, PetscGLVisSigHandler_save); in PetscGLVisCollectiveEnd()
|
| /petsc/src/sys/webclient/ |
| H A D | client.c | 54 signal(SIGPIPE, sigpipe_handle); in PetscSSLInitializeContext()
|
| /petsc/config/BuildSystem/ |
| H A D | RDict.py | 680 import signal 692 os.kill(pid, signal.SIGTERM)
|
| /petsc/doc/manual/ |
| H A D | other.md | 493 `PetscError()` and then terminates. In general, a signal in PETSc 496 PETSc programs turn on the default PETSc signal handler in `PetscInitialize()`, 504 Once the first PETSc signal handler has been pushed it is impossible to go back to 505 to a signal handler that was set directly by the user with the UNIX signal handler API or by 509 segmentation violation occurs to be printed. This is handled by them setting a special signal handl… 518 **before** the call to `PetscInitialize()`. This prevents PETSc from defaulting to using a signal h… 520 There is a separate signal handler for floating-point exceptions. The
|
| H A D | ts.md | 1002 - adaptive controller for time-stepping based on digital signal processing
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | Sys.pyx | 381 """Remove the current signal handler.
|
| /petsc/doc/changes/ |
| H A D | 38.md | 133 - Added TSADAPTDSP adaptive controller based on digital signal
|
| H A D | 318.md | 30 - Add `PETSC_ERR_RETURN` to signal when an error handler returns 0 in `PetscError()`
|
| /petsc/systems/Apple/iOS/PETSc/PETSc.xcodeproj/ |
| H A D | project.pbxproj | 584 …D89D1EC1207AA1AC00FACC19 /* signal.c in Sources */ = {isa = PBXBuildFile; fileRef = D89D1BD9207AA1… 1336 …BD9207AA1AA00FACC19 /* signal.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType … 2107 D89D1BD9207AA1AA00FACC19 /* signal.c */, 2486 D89D1EC1207AA1AC00FACC19 /* signal.c in Sources */,
|
| /petsc/doc/faq/ |
| H A D | index.md | 1713 ### How do I turn off PETSc signal handling so I can use the `-C` Option On `xlf`? 1856 ### What does "corrupt argument" or "caught signal" Or "SEGV" Or "segmentation violation" Or "bus e…
|
| /petsc/share/petsc/datafiles/meshes/ |
| H A D | testcase3D.cas | 7539 (errorhandling/use-async-signal-unsafe-functions? #f) 8172 (idft/signal ((mode . "") (dataset . "") (field . "")))
|
| /petsc/doc/ |
| H A D | petsc.bib | 39764 title = {Large-signal analysis of a silicon Read diode oscillator},
|