Reuti, Thanks so much... been reading the man pages and never figured that out..... Very helpful.....
Sean ________________________________________ From: Reuti [re...@staff.uni-marburg.de] Sent: Friday, August 12, 2016 1:26 PM To: Sean Smith Cc: users@gridengine.org Subject: Re: [gridengine users] Strategies for batch deleting jobs.... Am 12.08.2016 um 22:08 schrieb Sean Smith: > Hi All, > > Question on deleting jobs.... We have a fairly large grid thats runs in > excess of 100,000 jobs a day typically. We use SGE Array mode extensively to > so the # of jobs ID's is in the 100's > We run all jobs using a "build" account > This build account runs N different teams.... > > So I might have: > > TeamA: > jobs 1-100 > jobs name with TeamA in the Name > > TeamB: > jobs 101-200 > jobs named with TeamB in the Name.... > > etc, etc for some # of teams.... > > in reality these jobs # are not sequential. > > my problem/question is how do I cancel/qdel all of Team B's jobs easily???? > It doesn't appear you can delete by job name You can, even with wildcards: $ qdel "*TeamB*" The explanation of "wc_job_range_list" is in `man sge_types` where it's "wc_job := job-id | job-name | pattern" -- Reuti > only by user and by # > > How do people deal with this? > > i certainly could write some perl to parse the XML output of qstat which > includes the name. cross reference to the jobId and then kill the jobID's > that match. not hard but seems like this should be a common problem for > many grid users... > > appreciate any feedback > > Sean Smith > > > > > From: users-boun...@gridengine.org [users-boun...@gridengine.org] on behalf > of Sean Smith [sean.sm...@softmachines.com] > Sent: Thursday, August 11, 2016 5:02 PM > To: Fotis Georgatos; Mun Johl > Cc: users@gridengine.org > Subject: Re: [gridengine users] Is round-robin scheduling per user possible? > > How do you get it to work with SGE? > > When I try to install the RPM it complains it needs Torque > > when I download the tarball and run it I get: > > [05:00 PM] >qtop > Bailing out... Not yet ready for Sun Grid Engine clusters > > Sean > From: Fotis Georgatos [kefalo...@gmail.com] > Sent: Thursday, August 11, 2016 4:40 PM > To: Mun Johl > Cc: Sean Smith; users@gridengine.org > Subject: Re: [gridengine users] Is round-robin scheduling per user possible? > > And if you need a tool to keep an eye on the action as it happens, have a > look at qtop: > > http://github.com/qtop/qtop > > Policy application monitoring at your fingertips. > > Enjoy, F. > > On Thursday, August 11, 2016, Mun Johl <m...@apeirondata.com> wrote: > Hi Sean, Christopher, > > Thanks for the link, Sean. I'll definitely give that a read and see if I can > figure out the details (I'm kind of new to configuring SGE). And thanks to > both of you for your feedback. > > Regards, > > -- > Mun > > > On Thu, Aug 11, 2016 at 5:03 AM, Sean Smith <sean.sm...@softmachines.com> > wrote: > I will add that I just didn't provide a link we use this in production at > Soft Machines and it works well..... > > Sean > From: Christopher Heiny [christopherhe...@gmail.com] > Sent: Thursday, August 11, 2016 4:33 AM > To: Sean Smith > Cc: users@gridengine.org; Mun Johl > Subject: Re: [gridengine users] Is round-robin scheduling per user possible? > > On Aug 10, 2016 11:49 PM, "Sean Smith" <sean.sm...@softmachines.com> wrote: > > > > I would recommend reading this. > > > > http://arc.liv.ac.uk/SGE/howto/sge-configs.html#_fair_share > Hi Mun, > We use the fair share approach that Sean links to provide round robin > scheduling within queues at our site. > Cheers, > Chris > > > > Sean > > ________________________________ > > From: users-boun...@gridengine.org [users-boun...@gridengine.org] on behalf > > of Mun Johl [m...@apeirondata.com] > > Sent: Wednesday, August 10, 2016 8:27 PM > > To: users@gridengine.org > > Subject: [gridengine users] Is round-robin scheduling per user possible? > > > > Hi, > > > > First a simple question: How do I change the priority of a queue? I > > thought that would be trivial via qmon; but I couldn't find where the > > priority could be changed (at least, not in our setup). > > > > Now, my real question is this: Is it possible to configure SGE such that > > jobs are dispatched to execution hosts on a round-robin per user > > configuration? For example, if User-A queues up 10 jobs, and then User-B > > queues up 10 jobs to the same queue; can SGE be configured to dispatch each > > of the 20 jobs to execution hosts in a round-robin fashion per user? If > > so, how? > > > > If the above is not possible, then I'm thinking of creating a queue per > > user. In that scenario, is it possible to configure SGE to dispatch to > > execution hosts in a round-robin fashion per queue? > > > > Many thanks, > > > > -- > > Mun > > > > _______________________________________________ > > users mailing list > > users@gridengine.org > > https://gridengine.org/mailman/listinfo/users > > > > > > -- > echo "sysadmin know better bash than english"|sed s/min/mins/ \ > | sed 's/better bash/bash better/' # signal detected in a CERN forum > > > _______________________________________________ > users mailing list > users@gridengine.org > https://gridengine.org/mailman/listinfo/users _______________________________________________ users mailing list users@gridengine.org https://gridengine.org/mailman/listinfo/users