I guess the question is -- do you want to limit the amount of resources (memory & cpu) that any one job uses on the machine, or limit the total amount of resources used by all the jobs.
-gregOn 11/9/20 9:45 AM, mtwest2718 via HTCondor-users wrote:Hi Greg,For us users working in python land, would this work?>>> htcondor.params['NUM_CPUS'] = '6'>>> htcondor.params['MEMORY'] = '2048'>>> htcondor.reconfig()I expect not, but am not sure what in theInteracting with Daemons tutorial is relevant to this task.Cheers,Mattâââââââ Original Message âââââââOn Monday, November 9th, 2020 at 5:16 PM, Greg Thain <gthain@xxxxxxxxxxx> wrote:
On 11/9/20 6:44 AM, Guilherme De Sousa wrote:
Iâve been searching through the mailing list and documentation for this and canât seem to find it..
By default, the condor startd will advertise all the memory and all the cores that it discovers on the system. To override this, you set
NUM_CPUS = some_number
MEMORY = some_amount_of_memory _in_megabytes
And the startd will advertise those amounts instead.
-greg_______________________________________________ HTCondor-users mailing list To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a subject: Unsubscribe You can also unsubscribe by visiting https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users The archives can be found at: https://lists.cs.wisc.edu/archive/htcondor-users/