[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] dynamic slots : request_cpus
- Date: Fri, 22 Jan 2010 11:24:41 -0500
- From: Mag Gam <magawake@xxxxxxxxx>
- Subject: Re: [Condor-users] dynamic slots : request_cpus
The manual does not have an example of floats or fractions. Now I
look at it , there is no mention of real values.
On Fri, Jan 22, 2010 at 11:00 AM, Matthew Farrellee <matt@xxxxxxxxxx> wrote:
> 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%
>> request_cpus = 2.5
> 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.