So I have been submitting a lot of pbs jobs using the qsub command:
qsub -l nodes=1: ppn=1,walltime=4:00:00 run.csh
and everything works perfect except that I get the following error at the top of each output file:
Warning: no access to tty (Bad file descriptor).
Thus no job control in this shell.
It even happens for this simple script:
I have a script that removes these lines but it seems like there should be some way to have them not show up. I've searched around and some people suggested using -V on the qsub command but it didn't do anything. I have also tried doing this in csh, bash, sh, and tcsh with the same results.
In bash, you can do something like this:
#!/bin/bash
echo -n "What is your name? " > /dev/tty
read thename < /dev/tty
How can I do the same in python?
I have a python script that has the following content:
#!/usr/bin/python2.7
import getpass
import sys
import telnetlib
import... (2 Replies)
Scenario:
I would like the ability to be able to use the cli on a client that has remotely connected to me via my ssh server in my office and use their terminal to work remotely if I am in another remote location.
Ex.
The client reverse ssh's to my remote ssh server in my office.
ssh... (5 Replies)
Hi I am getting the below error
/bin/mkdir -p ./obj/SunOS10_32/SingleThread/Debug/CC_5_3
/bin/mkdir -p ./bin/SunOS10_32/SingleThread/Debug/CC_5_3
CC -c -ptr./obj/SunOS10_32/SingleThread/Debug/CC_5_3 -V -I/opt/tuxedo/tuxedo11gR1/include -I. -I../../OBED_SA_1-27a/include... (1 Reply)
I am having hard time understanding what this really do to the environment? I do understand this part "tty -s && stty " but not "istrip"
# stty command is executed only if a tty is attached to the process.
# stty istrip : Strip input characters to 7 bits
tty -s && stty istrip
I am... (3 Replies)
I have a file that I ran the dos2unix utility on, it cleans up pretty well, but I noticed an occasional ^M leftover, (actual characters) these may or may not be strays from my original dos file. Either way, I want to get rid of the ^ and any character that may follow. ^M ^C or whatever.
How do I... (6 Replies)
Guys
i have 2 SUSE Linux Enterprise Server 10 SP1 (i586) boxes.if i take a look into /etc/security/access.conf ,i see following lines at the eof
# All other users should be denied to get access from all sources.
#- : ALL : ALL
- : myID : ALL
now earlier i had written scripts where files... (1 Reply)
When a process aborted , it created a core like
-rw-r--r-- 1 root root 2 Mar 19 14:34 not a tty
This happens very less often, was not able to determine the exact problem.
My doubt is that is it possible to actually create a core "not a tty" ?
What can be the possible... (3 Replies)
Discussion started by: priyam
3 Replies
8. Post Here to Contact Site Administrators and Moderators
Hi,
how can I ged rid of "FeedBot" postings, put "FeedBot" on an ignore list or remove threads of the "News, Links, Events and Announcements" subforum from the "New Posts" option?
Thanks in advance. (5 Replies)
I've searched the net and tried various solutions that don't work for me.
I'm trying to return values from a SQL query and I keep getting a "^M" appended to one field.
Getting data from table
SELECT * FROM TABLE...
Spooling to $HOME/out.log
...
WF_DATA=`tail -7 $HOME/out.log |... (5 Replies)
Hi,
When it proccesing the backup with cpio report this message: Cannot open "/dev/tty" and cancel de backup.
Cuando se procesa la tarea del backup reporta el error: Cannot open "/dev/tty" y cancela el backup y no termina correctamente, a que se devera esta advertencia.
Gracias.
Thacks.... (3 Replies)
QSUB(1) User Contributed Perl Documentation QSUB(1)NAME
qsub - submit a batch job in a familiar pbs format
SYNOPSIS
qsub [-a date_time]
[-A account_string]
[-b secs]
[-C directive_prefix]
[-e path]
[-I]
[-l resource_list]
[-m mail_options] [-M user_list]
[-N name]
[-o path]
[-p priority]
[-q destination]
[-W additional_attributes]
[-h]
[script]
DESCRIPTION
The qsub command displays information about nodes. It is aimed to be feature-compatible with PBS' qsub.
OPTIONS -a Display information for all nodes. This is the default if no node name is specified.
-I Interactive execution.
-j join
It is not necessary (currently also not possible) since stderr/stdout are always joined.
-v [variable_list]
Exporting single variables via -v is not supported, since the entire login environment is exported by the default.
-V The -V option to export the current environment is not required since it is done by default.
-? | --help
brief help message
--man
full documentation
perl v5.14.2 2012-04-10 QSUB(1)