[GE users] Cross referencing a grid ID and process ID

Reuti reuti at staff.uni-marburg.de
Tue Jun 19 13:30:27 BST 2007


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

Hi,

Am 19.06.2007 um 14:01 schrieb Colin Thomas:

> We have some applications which run for days, and consume valuable  
> license tokens. At peak license usage, we would want to grid- 
> suspend the long running job, and give its license token to another  
> short job, which once finished we give back to the long job which  
> get grid-resumed, and gets the license back.
>
> I have manully ?proved? the system, so we want a little script that  
> will suspend a named job , and free up its license automatically
>
> If the long job runs on an execution machine ?A?, I can trace the  
> sge_shephard to the code that calls the license ( so I know which  
> license to free). From the grid side though I know the grid ID, and  
> that it is running on machine A, but I need the
what do you mean with grid ID? The best place to put such a code  
would be the suspend_method and resume_method for a queue. Inside  
them the environment variables might provide enough information.

-- Reuti
---------------------------------------------------------------------
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