[GE users] SGE tty warning

Chris Dagdigian dag at sonsorol.org
Wed Mar 29 18:59:29 BST 2006

For a pragmatic workaround ...

I usually hard code this into my qsub command:

  -S /bin/sh

or embed it directly into the script itself:

#$ -S /bin/sh

It neatly makes the tty error go away.


On Mar 29, 2006, at 10:08 AM, laikwong wrote:

> Hi,
> I have been receiving this warning while submitting most of my jobs  
> to SGE
> Warning: no access to tty (Bad file descriptor).
> Thus no job control in this shell.
> I read in the SGE Admin User Guide (around pg 51) something about this
> script that is suppossed to fix this issue:
> tty -s
> if [ $? = 0 ]; then
> stty erase ^H
> fi
> But I have no idea what it is suppossed to do or where to place  
> this script.
> I tried putting it in my .bachrc but it does not seem to help.
> Any ideas? Thanks for the help.
> Daniel

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