[GE users] What the ... default shell ... confusion

jeffbeadles jeff_beadles at mentor.com
Thu Dec 31 15:26:06 GMT 2009


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

What does
$ qconf -sconf | grep login_shells

Show?  Is bash on that list?  It's not by default, at least on some versions of SGE.

You can add it as an grid admin by running qconf -mconf

 -Jeff


From: sgenedharvey [mailto:sge at nedharvey.com]
Sent: Wednesday, December 30, 2009 7:27 AM
To: users at gridengine.sunsource.net
Subject: RE: [GE users] What the ... default shell ... confusion

Actually, this is weird ?

I do this:
qsub -cwd -b y -j y -p -512 -V -S /bin/csh -q camb.q -o ${HOME}/gridout ps
And in the output, I see:
                csh
                ps

I do the same thing with bash instead:
                qsub -cwd -b y -j y -p -512 -V -S /bin/bash -q camb.q -o ${HOME}/gridout ps
And in the output, there is no bash:
                ps

The part that?s weird?  Even if I specify -S /bin/bash I see that bash never runs.  Is there maybe some sort of ?allowed shells? setting somewhere, that perhaps doesn?t include bash?  Why would SGE refuse to launch bash?



From: sgenedharvey [mailto:sge at nedharvey.com]
Sent: Tuesday, December 29, 2009 5:35 PM
To: users at gridengine.sunsource.net
Subject: [GE users] What the ... default shell ... confusion

I thought, when you submit a job, it will run with your default login shell.
I would have sworn, weeks ago, I tested and confirmed this in my system.

But today, I am certainly testing, and seeing, that all jobs are being submitted via csh.

The desired behavior is for bash users to submit and run via bash, while csh users run via csh.  Basically, jobs should run under whatever is your default login shell.

Anybody know where I should look?

Currently, when users submit jobs, they use a wrapper script, which does this:
qsub -cwd -b y -j y -p -512 -V -q camb.q -o ${HOME}/gridout $@



More information about the gridengine-users mailing list