[torqueusers] qsub error :: no access to tty

Garrick Staples garrick at usc.edu
Mon Jan 14 16:08:24 MST 2008

On Sat, Jan 12, 2008 at 10:05:30AM +0200, Adrian Sevcenco alleged:
> Garrick Staples wrote:
> >On Sat, Jan 12, 2008 at 01:59:09AM +0200, Adrian Sevcenco alleged:
> >>Hi! I try to lunch a simple job (with "date && sleep 20" payload)
> >>in output stream i receive :
> >>Warning: no access to tty (Bad file descriptor).
> >>Thus no job control in this shell.
> >>Sat Jan 12 00:24:57 EET 2008
> >
> >That's tcsh.  Ignore it.
> >
> >I think it happens when a command in your .login tries to print to stdout
> >before the tty is setup.
> Thanks for info ... thou i dont have a .login its good to know that i 
> can ignore it.
> >Non-broken shells like bash don't do that :)
> >
> >
> >>Whats the problem and how can i remove it ?
> >>Also how can i make available  the user enviroment to pbs ?
> >
> >You mean qsub -V?
> Yeah ... it was incomplete question : how can i set up this in order to 
> be enabled by default for all users ? (in case they forget to use -V )

You'd have to modify qsub.c and recompile.

I don't recommend -V.  I yell at my users when they use it.  It makes the job
info really fat.  

I tell my users to make their batch scripts self-contained or
to source common config files.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20080114/93cc6577/attachment.bin

More information about the torqueusers mailing list