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

Re: [Condor-users] dynamic slots : request_cpus



On 01/19/2010 02:43 PM, Mag Gam wrote:
> Is it possible to define a percentage or fractions with request_cpu?
> 
> For example:
> request_cpus  = 33%
> 
> or
> 
> request_cpus = 2.5
> 
> TIA

It should be in the manual (though I've not checked) - Request* are actually expressions. You can request_cpus = TotalCpus * 0.33. However, they are also interpreted as integers in the code, so you won't get 2.5.

Best,


matt