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

Re: [HTCondor-users] How to modify cpus



On 5/13/16 9:08 AM, sjones wrote:
> # cat /etc/condor/config.d/00-node_parameters
> NUM_SLOTS = 1
> SLOT_TYPE_1               = cpus=32,mem=auto,disk=auto
> NUM_SLOTS_TYPE_1          = 1
> SLOT_TYPE_1_PARTITIONABLE = TRUE
> 
> Yet the system continues to run the previous number, cpus=24.

Try "NUM_CPUS = 32" to override the detected CPU count.

As a rule of thumb, though, you should not allocate more CPUs or cores
than you actually have. Running two jobs on one core simultaneously will
take longer for both to complete than running each job sequentially on
the same core.

-- 
Rich Pieri <ratinox@xxxxxxx>
MIT Laboratory for Nuclear Science