_______________________________________________Maybe the recursion is confusing it? Try defining a âhighmemory-rankâ value with the if statement, and then adding it to the negotiator_pre_job_rank sum.
Â
Michael V. Pelletier
Information Technology
Digital Transformation & Innovation
Integrated Defense Systems
Raytheon CompanyÂ
From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> On Behalf Of Vikrant Aggarwal
Sent: Thursday, September 19, 2019 8:56 AM
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Subject: [External] Re: [HTCondor-users] Steer job towards high memory nodesÂ
Hello Experts,
Â
Any inputs on it.
Â
Thanks & Regards,
Vikrant Aggarwal
Â
Â
On Tue, Sep 17, 2019 at 5:06 PM Vikrant Aggarwal <ervikrant06@xxxxxxxxx> wrote:
Hello Experts,
Â
I want to steer jobs with memory greater than 5342MB to highmemory nodes. HighMemory is added to machine classAD and value is either true or false.Â
Â
_expression_ used to achieve this:Â
Â
NEGOTIATOR_PRE_JOB_RANK = $(machine_rank) \
            + $(disk_speed_rank) \
            - $(cpu_utilization_rank) \
            - $(disk_utilization_rank) \
            + $(memory_rank) \
            - totalcpusÂ
NEGOTIATOR_PRE_JOB_RANK = ifthenelse(requestmemory > 5342 && requestcpus == 1, $(NEGOTIATOR_PRE_JOB_RANK) + 1000000 * (HighMemory =?= true), $(NEGOTIATOR_PRE_JOB_RANK) + (HighMemory =!= true))
Â
But still jobs with high request memory like 7000 MB going to machines with machine classAD of "HighMemory false".Â
Â
It's partitionable slot setup with scheduler splitting enabled. I want to avoid injecting the hard requirement for high memory node in submit file.Â
Â
Can anyone please help to understand what is wrong here.
Thanks & Regards,
Vikrant Aggarwal
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/