[GE users] Why doesn't qsh give you your login shell?

Reuti reuti at staff.uni-marburg.de
Fri Apr 15 11:10:58 BST 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

Andy Schwierskott wrote:
> Reuti,
> 
> your suggestion would affect all jobs including the batch jobs. The 
> question

Although I set "shell_start_mode unix_behavior" as mentioned? The 
"shell" entry is used for qsh this way, the first line of the script for 
batch jobs.

CU - Reuti

> was about qsh jobs only. But your suggestion is indeed interesting:-)
> 
> Andy
> 
>> Hi,
>>
>> it will take the entry from the queue definition. This can e.g. be put 
>> in a wrapper to get a proper login shell.
>>
>> shell                 /home/reuti/qsh_starter
>>
>> and the qsh_starter is simply to add the -l as argument:
>>
>> #!/bin/sh
>> exec /bin/sh -l
>>
>> As long as the "shell_start_mode unix_behavior" is set, this will not 
>> change the behavior of batch jobs.
>>
>> Cheers - Reuti
>>
>>
>> Magnus Söderberg wrote:
>>
>>> Hej.
>>>
>>> I take it it's a feature then. 8-)
>>> I just couldn't find anything in the documentation on what shell to 
>>> expect when using qsh.
>>> Thank you for the example, I will work with that.
>>>
>>> /Magnus
>>>
>>> Andy Schwierskott wrote:
>>>
>>>> Hi,
>>>>
>>>> I already send my xterm wrapper script (which you would configures 
>>>> as xterm
>>>> cxommand in the cluster/local config when using it) a couple of time 
>>>> to the
>>>> list - please forgive my repeated posting.
>>>>
>>> ........
>>>
>>> ---------------------------------------------------------------------
>>> 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
>>
>>
> 
> 
> Andy
> 
> -- 
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> Andy Schwierskott           Tel: +49 (0)941 3075-200 (x60200)
> N1 Grid Engine Engineering  Fax: +49 (0)941 3075-222 (x60222)
> Sun Microsystems GmbH
> Dr.-Leo-Ritter-Str. 7       mailto:andy.schwierskott at sun.com
> D-93049 Regensburg          http://www.sun.com/gridwar
> e
> 
> 
> ------------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> 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