Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Getting certain jobs to avoid eachother
- Date: Mon, 12 Dec 2011 12:21:49 -0600
- From: Nathan Panike <nwp@xxxxxxxxxxx>
- Subject: Re: [Condor-users] Getting certain jobs to avoid eachother
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.
Nathan Panike
>
> I now need a NEGOTIATOR_POST_JOB_RANK expression on the execute hosts that
> gets smaller (or goes negative?) the more of these jobs that are running on a
> particular host. The problem is that I can't see how to construct such an
> expression. Is there a way I can define a macro on each execute host that
> keeps track of how many such jobs are executing on it, say
> Num_AntisocialJobs? I could then have an expression of the form:
>
> NEGOTIATOR_POST_JOB_RANK = NUM_SLOTS- Num_AntisocialJobs
>
> Thanks for any helpful pointers,
> Martin
> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
>
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/condor-users/