[GE users] qsub with screen for reattaching

Don Shesnicky dshesnicky at enqsemi.com
Fri Oct 1 19:13:33 BST 2004


 
So this works:

   $ qrsh -q d.norm -display torsa:81
/home/dshesnicky/test-load/testscreen

Where the testscreen script is:

   /usr/X11R6/bin/xterm -e /usr/bin/screen
/home/dshesnicky/test-load/screenloop

and screenloop is a C program that slowly fills an array. 

It starts up the program in an xterm but but it leaves the gridengine
queues when
you detach screen with C-a C-d. Qsub doesn't work with a -display option
but if 
the testscreen xterm line is setup as:

 DISPLAY=torsa:81 /usr/X11R6/bin/xterm -e /usr/bin/screen
/home/dshesnicky/test-load/screenloop

Then it does work but again exits GE when you disconnect the screen.

Don

-----Original Message-----
From: Don Shesnicky [mailto:dshesnicky at enqsemi.com] 
Sent: Friday, October 01, 2004 11:59 AM
To: users at gridengine.sunsource.net
Subject: RE: [GE users] qsub with screen for reattaching


Maybe the technique should be to qrsh it with screen and then detach
from it. 
I'll give it a try.

Don 

-----Original Message-----

We have many applications that while they can run non-interactively, if
a $DISPLAY is set, will output status, and other information in a
window.

If you point your $DISPLAY to a vnc-based session, then you can look at
it while it runs.

	-Jeff 

-----Original Message-----
From: Rayson Ho [mailto:raysonho at eseenet.com]
Sent: Thursday, September 30, 2004 3:12 PM
To: users at gridengine.sunsource.net
Subject: RE: [GE users] qsub with screen for reattaching

I am interested in this too... how to use VNC with a batch job??

Rayson

>We use vnc for this frequently, which works well for us.
>  -Jeff

---------------------------------------------------------------------
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


---------------------------------------------------------------------
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