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.
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)
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)
Discussion started by: Crios121
5 Replies
3. 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)
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)
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)
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)
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)
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)
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)
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)
Discussion started by: SkySmart
2 Replies
LEARN ABOUT PLAN9
pbs_resources_sp2
pbs_resources_sp2(7B) PBS pbs_resources_sp2(7B)NAME
pbs_resources_sp2 - pbs resources on IBM SP-2
DESCRIPTION
This page summarizes the resources supported by PBS for the IBM SP-2. These resources are specified by including them in the -l option
argument on the qsub or qalter command or in the PBS job script.
RESOURCES
nice The nice value under which the job is to be run. Units: unitary.
walltime
Maximum amount of real time during which the job can be in the running state. Units: time.
arch Specifies the administrator defined system architecture requried. This defaults to whatever the PBS_MACH string is set to in
"local.mk". Units: string.
host Name of host on which job should be run. This resource is provided for use by the site's scheduling policy. The allowable values
and effect on job placement is site dependent. Units: string.
nodes Number and/or type of nodes to be reserved for exclusive use by the job. The value is one or more node_specs joined with the '+'
character, "node_spec[+node_spec...]. Each node_spec is an number of nodes required of the type declared in the node_spec and a
name or one or more properity or properities desired for the nodes. The number, the name, and each properity in the node_spec are
separated by a colon ':'. If no number is specified, one(1) is assumed. Units: string.
The name of a node is its hostname. The properities of nodes are:
. ppn=# specifying the number of processors per node requested. Defaults to 1.
. arbitrary string assigned by the system administrator, please check with your administrator as to the node names and properities
available to you.
Examples:
. To ask for 12 nodes of any type: -l nodes=12
. To ask for 2 "server" nodes and 14 other nodes (a total of 16): -l nodes=2:server+14
The above consist of two node_specs "2:server" and "14".
. To ask for (a) 1 node that is a "server" and has a "hippi" interface, (b) 10 nodes that are not servers, and (c) 3 nodes that have
a large amount of memory an have hippi:
-l nodes=server:hippi+10:noserver+3:bigmem:hippi
. To ask for three nodes by name:
-l nodes=b2005+b1803+b1813
. To ask for 2 processors on each of four nodes:
-l nodes=4:ppn=2
. To ask for 4 processors on one node:
-l nodes=1:ppn=4
. To ask for 2 processors on each of two blue nodes and three processors on one red node:
-l nodes=2:blue:ppn=2+red:ppn=3
host Allows a user to specify the desired execution location. This resource is provided for use by the site's scheduling policy. The
allowable values and effect on job placement is site dependent. Units: string.
other Allows a user to specify site specific information. This resource is provided for use by the site's scheduling policy. The allow-
able values and effect on job placement is site dependent. Units: string.
software
Allows a user to specify software required by the job. This is useful if certain software packages are only available on certain
systems in the site. This resource is provided for use by the site's scheduling policy. The allowable values and effect on job
placement is site dependent. Units: string.
EXAMPLES
qsub -l nodes=15,walltime=2:00:00 script
or in a qsub script as a directive:
#PBS -l nodes=15,walltime=2:00:00
RESOURCE UNITS
The resource values take the following units:
time specifies a maximum time period the resource can be used. Time is expressed in seconds as an integer, or in the form:
[[hours:]minutes:]seconds[.milliseconds]
unitary The maximum amount of a resource which is expressed as a simple integer.
SEE ALSO
the PBS ERS, qsub(1B), qalter(1B), pbs_submit(3B), pbs_alterjob(3B), pbs_statjob(3b)pbs_resources_aix4(7B), pbs_resources_irix5(7B)pbs_resources_sunos4(7B), pbs_resources_unicos8(7B)Localpbs_resources_sp2(7B)