[GE users] qdel

Lönroth Erik erik.lonroth at scania.com
Tue Sep 18 15:13:24 BST 2007


    [ The following text is in the "iso-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

I'm using "HPMPI" 

Is there some guide as how to do this tightly intergrated?

/Erik



-----Original Message-----
From: Reuti [mailto:reuti at staff.uni-marburg.de] 
Sent: den 18 september 2007 15:15
To: users at gridengine.sunsource.net
Subject: Re: [GE users] qdel


Hi,

Am 18.09.2007 um 14:36 schrieb Lönroth Erik:

> I have an application that detects the presence of a file
> ".isstopping" to kill its paralell child processes on different  
> hosts. I wan't this file to be created upon a "qdel" invocation for  
> this specific application.

so your parallel application isn't tightly integrated with SGE, as  
otherwise the child processes would be killed by SGE automatically.  
Which parallel library are you using?

-- Reuti


> My initial focus was the "PE" stop_procedure, but it's only
> executed AFTER the completion of the job-script, so that won't help  
> me much.
>
> I need to catch the "qdel" and act on this by creating that file
> and wait for some time before killing the job to let the  
> application finish up.
>
> My question is: How would I achieve this in a good way?
>
>  I've read something about trapping SIGKILL or SIGTERM, but I'd
> figure there are good ideas out there....
>
> I'm on SGE 6.0u8
>
> Regards
> /Erik

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list