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

sgenedharvey sge at nedharvey.com
Wed Dec 30 15:27:29 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. ]

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:

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:

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