Am 10.10.2012 um 01:02 schrieb Orion Poplawski:

> That looks good.  Any good example starter method scripts that handle
> the SGE_STARTER_SHELL_START_MODE and SGE_STARTER_USE_LOGIN_SHELLvariables 
> appropriately when running the shell?

What do you mean by: "...scripts that handle...variables appropriately..."? 
These are variables you defined - I can't spot them in the default set.

You can also add entries to $SGE_JOB_SPOOL_DIR/environment in the prolog, which 
will be used during the job then.

-- Reuti


> On 10/09/2012 04:48 PM, Rayson Ho wrote:
>> Prolog runs as a separate process, so all env vars are discarded when
>> the prolog is done.
>> 
>> To implement what you need, you can look at the starter method...
>> 
>> Rayson
>> 
>> 
>> 
>> On Tue, Oct 9, 2012 at 6:40 PM, Orion Poplawski <[email protected]> wrote:
>>> Is there a way to set environment variables in a prolog script that persist
>>> to the job and epilog?
>>> 
>>> --
>>> Orion Poplawski
>>> Technical Manager                     303-415-9701 x222
>>> NWRA, Boulder Office                  FAX: 303-415-9702
>>> 3380 Mitchell Lane                       [email protected]
>>> Boulder, CO 80301                   http://www.nwra.com
>>> _______________________________________________
>>> users mailing list
>>> [email protected]
>>> https://gridengine.org/mailman/listinfo/users
> 
> 
> -- 
> Orion Poplawski
> Technical Manager                     303-415-9701 x222
> NWRA, Boulder Office                  FAX: 303-415-9702
> 3380 Mitchell Lane                       [email protected]
> Boulder, CO 80301                   http://www.nwra.com
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users


_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to