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

templedf dan.templeton at sun.com
Fri May 22 15:29:46 BST 2009


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



More information about the gridengine-users mailing list