[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] request_cpus
- Date: Wed, 02 Oct 2013 00:20:50 -0400
- From: Matthew Farrellee <matt@xxxxxxxxxx>
- Subject: Re: [HTCondor-users] request_cpus
On 09/23/2013 12:05 AM, Tiago Macarios wrote:
I was wondering is there a way to make "request_cpus" request the
"remaining CPUs" of a machine and pass that number to the job?
For example if a machine has 3 cores available the job would be assigned
to that machine and the "3 cpus" would be passed to the executable, so
that OpenMP instructions can be enabled and set to 3.
request_cpus actually takes an expression. So you can have request_cpus
= Cpus. You can find the number of cpus you got in the .machine.ad file
available to your job. You might be able to use arguments = $$(Cpus).