tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: risler () cgmvax ! cgm ! cnrs-gif ! fr
To: tru64-unix-managers
Subject: Q: NQS?
Date: Wed, 07 Jun 1995 11:17:06 +0000	[thread overview]
Message-ID: <96075320706432.tru64-unix-managers.marc@archive.invalid> (raw)


Dear Gurus,

I have installed NQS (CERN version) on my Alpha box (Dec Unix 3.0).

Probably because I'm just stupid, I can't submit a job. Suppose I want to 
run the program FOO with the option -small. Here is the (elementary) script 
called foo.com:

FOO -small << END
...
...
input data
...
END

In interactive mode, no problem. Now if I want to run it in BATCH mode, the 
command

"qsub foo.com" does'nt run FOO and results in the messages:

stty: tcgetattr: Not a typewriter
Not a terminal
Can't << within ()'s

I understood that NQS sets a variable ENVIRONMENT to BATCH when invoked, 
and that the value of $ENVIRONMENT should be used to "do something" about 
stty. But what, how and when?

Thank you for your help,

Jean-Loup


---------------------------------------------------------------------
Jean-Loup Risler                     Tel:  (33 1) 69 82 31 34
CNRS                                 Fax:  (33 1) 69 07 49 73
Centre de Genetique Moleculaire	     Email: risler@cgmvax.cgm.cnrs-gif.fr
91198 Gif sur Yvette Cedex  France    
---------------------------------------------------------------------

                 reply	other threads:[~1995-06-07 11:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox