On 12/12/2011 12:21 PM, Nathan Panike wrote: > On Mon, Dec 12, 2011 at 05:49:34PM +0000, Martin Steele wrote: >> Hi, >> >> I have a class of jobs that I'd like to ensure is maximally dispersed amongst >> my pool's resources. What marks these jobs out from others is that they >> require a lot of memory, but let's consider the generic problem of having a >> particular class of jobs avoiding eachother. Firstly, I'll get these jobs to >> identify themselves by setting a custom classad value in their submit script, >> e.g. via: >> >> +AntisocialJob = True > > How about adding the expression > > TARGET.SlotID == 1 > > to your Requirements expression? Then at most one "antisocial" job would run on > a given machine at a single time. However, it won't run on a machine where slot 1 is already occupied by some other job. Which may or may not be ok. -- Dimitri Maziuk Programmer/sysadmin BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
Attachment:
signature.asc
Description: OpenPGP digital signature