[GE users] Cleanup on Rescheduling and Deleting

Ron Chen ron_chen_123 at yahoo.com
Tue Jan 25 02:26:22 GMT 2005

Can your job scripts check if the environment var
$RESTARTED to the number of times SGE has restarted

And as an optimization, when $RESTARTED is 0, then
don't sleep or clear the job output file.

BTW, I am not getting the behaviour you are getting.
SGE always waits for the rescheduled jobs. Can you
post  a sample job script?


--- Dan Gruhn <Dan.Gruhn at Group-W-Inc.com> wrote:
> Hi Reuti,
> Yes, delaying my script for a minute would be a work
> around for now. 
> However, I am trying to squeeze as much out of my
> machines as I can and
> I am thinking that SGE's behavior in this case is
> wrong.  It should not
> be running the same job at the same time on
> different CPUs under these
> or any other circumstances.
> I think the proper sequence of events should be:
> 1) Reschedule is requested
> 2) Job 1 gets the USR2 signal
> 3) After the notify time, job 1 exits
> 4) Job 2 is now scheduled to be run.
> Does this seem right to you?

Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.

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