[GE users] N1GE 6.0 qsub and terminal display question

Ron Chen ron_chen_123 at yahoo.com
Fri May 13 00:39:50 BST 2005


May be you are talking about LSF's "bsub -I", which
gives you the interactive terminal.

With SGE, you use qrsh instead.

 -Ron



--- Doug Staub <rstaub at arrow.com> wrote:
> Reuti,
> 
> Maybe the only option is to tail the output file to
> see what the 
> submitted job is doing - one thought was to spawn a
> qsub job within to 
> create an xterm tailing the output like:
> 
> qsub -b yes -v DISPLAY 'xterm -e tail -f <output
> file name>'
> 
> But I was hoping that you could just specify on the
> line containing "#$ 
> -o " to point to a pseudo terminal.  Maybe this
> could be an enhancement 
> to the next release of N1GE 6.
> 
> Thanks for the help - FWIW, I like the response of
> this forum much 
> better than that of the support that comes with
> buying Sun GRID Engine 
> (typically, two or three days to get back to me on
> questions like this).
> 
> Thanks,
> Doug
> 
> Reuti wrote:
> 
> >Hi,
> >
> >do you want to get the normal output to the
> terminal, which is also written to 
> >the standard output file? As the output is written
> to a file, which is 
> >accessible by the user during runtime of the job,
> they could use "tail -f 
> ><outfile>" to look at it. AFAIK it's e.g. different
> on OpenPBS (don't know 
> >about LSF), as the output is copied only after the
> job there.
> >
> >Cheers - Reuti
> >
> >
> >Quoting Doug Staub <rstaub at arrow.com>:
> >
> >  
> >
> >>Greetings,
> >>
> >>I am trying to get qsub to output the content from
> scripts to the user's 
> >>terminal from where the qsub command originated -
> is this possible?  I 
> >>am told that users of LSF can issue a command that
> mirrors the output to 
> >>the user's terminal, but I have not found anything
> that is supported by 
> >>grid engine.
> >>
> >>I need to restrict users from using qsh, qlogin,
> or qrsh and invoking 
> >>xterm windows on the Grid as users typically will
> leave these xterms 
> >>running when they are done and I need a more
> efficient way that having 
> >>the user track down their job ID number and
> tailing the output from the 
> >>script.  Any ideas or suggestions would be greatly
> appreciated!
> >>
> >>Thanks,
> >>Doug
> >>rstaub at arrow.com
> >>
> >>
>
>>---------------------------------------------------------------------
> >>To unsubscribe, e-mail:
> users-unsubscribe at gridengine.sunsource.net
> >>For additional commands, e-mail:
> users-help at gridengine.sunsource.net
> >>
> >>    
> >>
> >
> >
> >
>
>---------------------------------------------------------------------
> >To unsubscribe, e-mail:
> users-unsubscribe at gridengine.sunsource.net
> >For additional commands, e-mail:
> users-help at gridengine.sunsource.net
> >
> >
> >
> >  
> >
> 
> -- 
> ==========
> Doug Staub
> 
> Woodland Hills ASIC Design Center
> Arrow Electronics        	phone   : (818) 932-1387  
> 20935 Warner Center Lane        pager   : (877)
> 455-1147  
> Woodland Hills, CA 91367       	email   :
> rstaub at arrow.com
> 
> 


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search. 
http://info.mail.yahoo.com/mail_250

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list