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

Andy Schwierskott andy.schwierskott at sun.com
Tue Jun 19 13:41:18 BST 2007


Hi,

the job environment variables are available for prolog/epilog and *_method's
as well. They are documented in the qsub(1) man page.

Andy

On Tue, 19 Jun 2007, Reuti wrote:

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

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