[GE users] Using bash as the default shell

Reuti reuti at staff.uni-marburg.de
Thu Jan 3 14:37:28 GMT 2008


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

Hi,

Am 03.01.2008 um 14:00 schrieb Neil Baker:

> I?ve been trying to find out where I can set the default shell  
> which JOBs use in Grid Engine 5.3 without success.  All our Grid  
> jobs need to run in BASH, but by default Grid Engine 5.3 uses CSH.   
> We can override it within the job scripts by adding the line ?#$ - 
> S /bin/bash? but is there a way we can configure the Grid Engine to  
> use BASH as the default so that we don?t have to keep remembering  
> to override the CSH default every time?

you can specify this in your queue setup:

shell                 /bin/sh

and additionally:

shell_start_mode      unix_behavior

to honor the first line of a script in the usual way.

-- Reuti 
---------------------------------------------------------------------
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