[torqueusers] qsub error :: no access to tty
Adrian.Sevcenco at cern.ch
Tue Jan 15 09:43:39 MST 2008
Garrick Staples wrote:
> 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.
Ok ... then if they source their .bashrc its better than -V ?
also .. is the only downside of -V is the job info size ???
Because if is , it is insignificant as we have a complex software
environment and we need all the exports.
Is there any other downside to -V ?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3092 bytes
Desc: S/MIME Cryptographic Signature
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20080115/858895ca/smime.bin
More information about the torqueusers