[GE users] Is it possible to export job environment variables to epilog scripts?

Reuti reuti at staff.uni-marburg.de
Thu Mar 30 11:45:09 BST 2006


Hi,

Am 30.03.2006 um 12:37 schrieb Goncalo Borges:

>
> Dear All,
> A simple question:
> Is it possible to export environment variables built in the job  
> script to the
> epilog script? if yes, how?
>
> I have tried the following thing. In my job script file, I do:
> # -v SGEOU2
> (...)
> SGEOU2="$JOB_NAME".id"$JOB_ID".ckpt
>

the -v will only distribute the initial settings AFAIK, but you can  
put some additional information in the context with:

qalter -ac/-dc/-sc ...

please look at "man qalter" or recreate your SGEOU in the epilog.

HTH - Reuti


> Nevertheless, in the epilog script run at the end of the job,  
> $SGEOU2 appears as
> an empty variable.
>
> Thanks in advance
> Goncalo
>
> ---------------------------------------------------------------------
> 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