[GE users] Email at the end of an array job?

Robert Olson olson at mcs.anl.gov
Wed Apr 30 01:03:48 BST 2008


I use exactly this mechanism in the parallel part of the bio pipeline  
we drive with SGE, and it works great. The held job can do sanity  
checking on the output of the prior parallel part, and can trigger  
the next stage of the pipeline to execute.

--bob

On Apr 29, 2008, at 6:36 PM, David Olbersen wrote:

> Jeff,
>
> I like this idea a lot more than mucking with procmail.
> Thanks!
>
> David Olbersen
>
>
>
> From: Beadles, Jeff [mailto:jeff_beadles at mentor.com]
> Sent: Tuesday, April 29, 2008 4:25 PM
> To: users at gridengine.sunsource.net; users at gridengine.sunsource.net
> Subject: RE: [GE users] Email at the end of an array job?
>
> What I would do is to just submit a job after the array job, with  
> mail notification turned on, and have it put a hold on your array  
> job number.
>
> Something like;
>
> $ qsub -t 1-1000 myarray.sh
> Your job number 123 has been submitted
>
> $ qsub -p 0 -hold_jid 123 -m b  -M my at example.com -b y /bin/true
>
> That way you'll get email after all of the array tasks have finished.
>
>   -Jeff
>
>
>
>
> -----Original Message-----
> From: David Olbersen [mailto:dolbersen at nextwave.com]
> Sent: Tue 4/29/2008 4:08 PM
> To: users at gridengine.sunsource.net
> Subject: [GE users] Email at the end of an array job?
>
> So have I overlooked something embarassingly obvious, or is there  
> no way
> to get an email when all of the tasks in my array job has finished, as
> opposed to when each task finishes?
>
> For example, I launch a job with 300 tasks via `qsub -m e -t  
> 1-300 ...`
> I don't want 300 email, I just want an email when the last task
> finishes.
> Is this possible?
>
> ________________________________
>
> David Olbersen
>
>
>
>




More information about the gridengine-users mailing list