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

Re: [Condor-users] Failed to evaluate NEGOTIATOR_POST_JOB_RANK expression to a float.



Thanks Jaime, for the command to get the actual evaluated _expression_ value.
Seems the problem occurs on machines running version 7.2.4 where offline clasad is not defined.
I will investigate more and come back with what I´ve found.
 
Regards,
Klaus


-----condor-users-bounces@xxxxxxxxxxx wrote: -----

To: Condor-Users Mail List <condor-users@xxxxxxxxxxx>
From: Jaime Frey <jfrey@xxxxxxxxxxx>
Sent by: condor-users-bounces@xxxxxxxxxxx
Date: 07/06/2012 03:46PM
Subject: Re: [Condor-users] Failed to evaluate NEGOTIATOR_POST_JOB_RANK _expression_ to a float.

On Jul 4, 2012, at 8:55 AM, kschwarz@xxxxxxxxxxxxxx wrote:

The default setting for NEGOTIATOR_POST_JOB_RANK in the condor_config file:

...
NEGOTIATOR_POST_JOB_RANK = $(UWCS_NEGOTIATOR_POST_JOB_RANK)
...
UWCS_NEGOTIATOR_POST_JOB_RANK = \
 (RemoteOwner =?= UNDEFINED) * (KFlops - SlotID - 1.0e10*(Offline=?=True))
...

gives the error message:

Failed to evaluate NEGOTIATOR_POST_JOB_RANK _expression_ to a float.

in the NegotiatorLog file.

I have tried some changes without success:

UWCS_NEGOTIATOR_POST_JOB_RANK = (RemoteOwner =?= UNDEFINED) * (KFlops - SlotID - 10000000000.0*(Offline=?=True))
or
UWCS_NEGOTIATOR_POST_JOB_RANK = (RemoteOwner =?= UNDEFINED) * (KFlops - SlotID - (Offline=?=True))

When I remove the Offline portion of the _expression_, the messages are gone.

UWCS_NEGOTIATOR_POST_JOB_RANK = (RemoteOwner =?= UNDEFINED) * (KFlops - SlotID)

Any clue? What could be done to fix this? Is it a bug in Condor?

The _expression_ should be fine. One thing to try is using the _expression_ with condor_status -format, like so:

condor_status -format '%v\n' '(RemoteOwner =?= UNDEFINED) * (KFlops - SlotID - 10000000000.0*(Offline=?=True))'

Then check the output for any lines that don't look like floating-point numbers.

Thanks and regards,
Jaime Frey
UW-Madison Condor Team

_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/