All,
Currently I am looking at trying to make our Fortran code recognise that it is being shutdown. What extra interrupt signals do I need to recognise for termination under Condor on both Windows and Linux??
For Linux would it just be SIGTERM or SIGABRT?
Previously there had been a discussion on Condor termination of console applications on windows (about a year back IIRC). It used some multi threaded method to capture WM_CLOSE. Is this required for Condor under Windows?? If we have to capture WM_CLOSE, is there anyway to write a wrapper program that would check for WM_CLOSE, then pass a SIGTERM or SIGABRT to the program?
Any thoughts or help is greatly appreciated.
Thanks,
Scott
CONFIDENTIAL AND PRIVILEGED INFORMATION NOTICE This e-mail, and any attachments, may contain information that is confidential, subject to copyright, or exempt from disclosure. Any unauthorized review, disclosure, retransmission, dissemination or other use of or reliance on this information may be unlawful and is strictly prohibited. AVIS D'INFORMATION CONFIDENTIELLE ET PRIVILÉGIÉE Le présent courriel, et toute pièce jointe, peut contenir de l'information qui est confidentielle, régie par les droits d'auteur, ou interdite de divulgation. Tout examen, divulgation, retransmission, diffusion ou autres utilisations non autorisées de l'information ou dépendance non autorisée envers celle-ci peut être illégale et est strictement interdite. |