[GE users] Email at the end of an array job?
dolbersen at nextwave.com
Wed Apr 30 00:36:11 BST 2008
I like this idea a lot more than mucking with procmail.
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.
$ 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.
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
Is this possible?
More information about the gridengine-users