Borrar filtros
Borrar filtros

How to capture USR2 signal?

3 visualizaciones (últimos 30 días)
Sepp
Sepp el 12 de Jul. de 2015
Editada: Sepp el 12 de Jul. de 2015
Hello
I'm running some Matlab scripts on a cluster (on several nodes). In the cluster wiki I have read the following:
"To give the application a chance to exit gracefully, LSF first sends a "friendly" signal (USR2) to all processes of a job when its time lmit is about to expire. If the job is still running after a short grace period (10 min), LSF sends increasingly "unfriendly" signals (INT, QUIT, TERM and KILL). The last one can not be caught or ignored; it effectively kills the job."
How can I capture in my main script the UDR2 signal so that I can do some action before it is killed?

Respuestas (0)

Categorías

Más información sobre MATLAB Parallel Server en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by