[GE users] starter_methods

Reuti reuti at staff.uni-marburg.de
Tue Aug 28 14:35:11 BST 2007


Hi,

Am 28.08.2007 um 15:05 schrieb Colin Thomas:

> I have used with success the suspend_method to suspend jobs, and at  
> the same time identify flexlm tokens that are used and release then.
>
> We now have an application in which when it is run it is passed a  
> configuration script listing all of the machine it can run on  
> (massive parallel)
>
> So I have a bit of a chicken and egg situation, when I submit the  
> job to the grid, it needs to know which machines it has been  
> allocated L
>
> I thought that the starter_method might be a solution, having  
> access to the $host et al parameters (like suspend_method), I get a  
> script to identify which machines have been allocated, and write  
> the config file on the fly and then launch the application: but  
> this does not seem to work ($host et al are no available).
>
> Is there another way for a job being launched by the grid to have  
> access to which machines et al it has been allocated ?
the usual SGE environment variables (e.g. $PE_HOSTFILE pointing the  
pe_hostfile) should be available inside the starter_method.

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