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

Re: [HTCondor-users] Debugging NEGOTIATOR_PRE_JOB_RANK



Thanks, that should work but is too strict. I just realized that I wasn't precise in the way I described the problem. I'm not looking for a strict restriction but a priority. I want the jobs to be executed at the servers unless there are no available slots - then they should be directed to workstations. I was hoping that the NEGOTIATOR_PRE_JOB_RANK I presented should achieve that, but it seems that it is not working. Hence the question about debugging.

Best,
Chris


On 22 January 2013 15:22, Glowka, Mark T. (CTO Service Delivery) <mark.glowka@xxxxxxxxxxxxxxx> wrote:

Try this.

 

Add this to START:

START       = ($(START)) && (Server =?= 1)

 

And add this to your sub file:

+Server = 1

 

Mark Glowka

The Hartford

SI&T CTO Service Delivery (Grid Operations)

 

 

From: htcondor-users-bounces@xxxxxxxxxxx [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf Of Chris Filo Gorgolewski
Sent: Tuesday, January 22, 2013 6:16 AM
To: htcondor-users@xxxxxxxxxxx
Subject: [HTCondor-users] Debugging NEGOTIATOR_PRE_JOB_RANK

 

Hi,

I'm administering a condor pool with multiple workstations and two dedicated machines (32 cores each). I wanted to jobs to be executed on the dedicated servers instead of workstations so I added this to the servers configs

 

IsServer = True

STARTD_ATTRS = $(STARTD_ATTRS) IsServer

 

and this to the negotiator config

NEGOTIATOR_PRE_JOB_RANK =  (IsServer =?= True && RemoteOwner =?= UNDEFINED) + \

                                                      RemoteOwner =?= UNDEFINED

 

However when I send dummy sleep jobs to the cluster they get executed on the servers and workstations. How can I debug this? Does it matter that the machines use Dynamic slots? Does LoadAvg is taken into account in choosing slots?

 

Thanks in advance!

 

Best,

Chris

************************************************************
This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information.  If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited.  If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies.
************************************************************


_______________________________________________
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/