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

Re: [HTCondor-users] limiting number of core used



On 01/15/2018 02:12 PM, Larry Martell wrote:
> I have a machine with 176 cores but I want condor to only use 132 of
> them.

> What is the proper way to limit the number of cores condor will use?

NUM_SLOTS = 132

Will make it run 132 jobs in parallel.

SLOT_TYPE_1 = cpus=132
NUM_SLOTS_TYPE_1 = 1

Will make it run 1 job that uses 132 cores, assuming you set the number
of other slots to 0 (whatever the setting is for that).

-- 
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu

Attachment: signature.asc
Description: OpenPGP digital signature