[GE users] qsub with screen for reattaching

Don Shesnicky dshesnicky at enqsemi.com
Fri Oct 1 03:18:28 BST 2004


    [ The following text is in the "iso-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

 
This did work once for me, as always when one run works I wished I had paid more attention but I submitted the job, logged onto the host it was running on and did a "screen -r" to resume the connection - which it did. 
 
Where is the tty on jobs which run interactively?
 
Don

________________________________

From: Ron Chen [mailto:ron_chen_123 at yahoo.com]
Sent: Thu 30/09/2004 9:56 PM
To: users at gridengine.sunsource.net
Subject: Re: [GE users] qsub with screen for reattaching



I think in general it is hard to use "screen" with a
batch system, since a batch job does not have tty.

 -Ron


--- Don Shesnicky <dshesnicky at enqsemi.com> wrote: 
> We have an application called hsim that can run in
> batch mode to
> completion but there's also
> the notion of sending the program some signals (not
> OS signals) to
> change states or write a
> checkpoint file. The users would like to be able to
> submit the job and
> then at some point go
> onto the system that is running the program and
> attach a terminal to it.
>
> 
> Sounds like a job for "screen" ie. qsub -q queue
> testscreen" where
> testscreen is a script that
> starts the job with screen in detached mode:
> 
> #!/bin/bash
> /usr/bin/screen -d -m /home/user/test/screenloop
> 
> When I run the script in a terminal I can reattach
> to it via screen -r
> but when I run it through
> GE it fails... although it worked once when I
> removed a -o directory
> option but try as I might
> I cannot get it to work again just dies immediately
> after being accepted
> to run.
> 
> Anyone had any experience here or have any ideas?
> 
> Don
>
>



               
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail

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






    [ Part 2: "Attached Text" ]

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