[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: [Condor-users] setting maximum # of computers available for a job??




John Wheez <john@xxxxxxxxxx> wrote:
__________
>Hi all,
>
>   I've been trying to figure out how to tell condor to allocate a 
>certain amount of CPU's per job and not more than the specified limit.
>
>For example..suppose i want job A to only use 5 computers even though i 
>have 40 available? Is there a a way to set this type of behaviour?
>

We are working on a more elegant way to handle this, but for right now I can recall the following  solution that several sites are doing:

referring to your example above, submit jobs of type A to their own schedd (recall you can run as many schedds in a pool as you want), and set MAX_JOBS_RUNNING in the config file for that schedd.  Remember to also specify a SCHEDD_NAME in the config file as well if you run multiple schedds on the same machine (each schedd in a pool needs a unique name).

Hope this is helpful
Todd


>JW
>
>_______________________________________________
>Condor-users mailing list
>Condor-users@xxxxxxxxxxx
>https://lists.cs.wisc.edu/mailman/listinfo/condor-users