[GE users] Putting e-mail address in a variable inside script

pollinger harald.pollinger at sun.com
Fri May 22 16:12:05 BST 2009


Yes, you're right. I was off the track, sorry.

Harald

templedf wrote:
> Actually, that shouldn't work. The #$ line isn't interpreted by the 
> shell. It's interpreted by qsub, and qsub doesn't do variable 
> interpolation on the #$ lines.
> 
> Daniel
> 
> pollinger wrote:
>> sanfermines wrote:
>>   
>>> Hello Everybody,
>>>
>>> I would like to put in a script a line as follows:
>>>     
>>  >
>>   
>>> #$ -M $EMAIL_ADDRESS
>>>
>>> where $EMAIL_ADDRESS is a variable with the real e-mail address
>>>     
>> This should work if $EMAIL_ADDRESS is defined on the execution host when 
>> the job script is executed.
>>
>>   
>>> But this way, SGE doesn't process properly the variable.
>>>     
>> What exactly does SGE wrong?
>>
>> Regards,
>> Harald
>>
>>   
>>> Any ideas?
>>>
>>> Thank you very much.
>>>     
>>
>>
> 
> ------------------------------------------------------
> http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=198278
> 
> To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].


-- 
Sun Microsystems GmbH         Harald Pollinger
Dr.-Leo-Ritter-Str. 7         Sun Grid Engine Engineering
D-93049 Regensburg            Phone: +49 (0)941 3075-209  (x60209)
Germany                       Fax: +49 (0)941 3075-222  (x60222)
http://www.sun.com/gridware
mailto:harald.pollinger at sun.com
Sitz der Gesellschaft:
Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Wolf Frenkel
Vorsitzender des Aufsichtsrates: Martin Haering

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=198287

To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list