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

Re: [Condor-users] RANK expression (Owner =!= "user") no loner works in 7.6.0?



Hi,

I'm not really familiar with this, but perhaps it should be:
 IfThenElse instead of IfTheElse?

Regards,
Ajasja

On Thu, May 5, 2011 at 14:42, Carsten Aulbert <carsten.aulbert@xxxxxxxxxx> wrote:
Hi again

On Wednesday 04 May 2011 13:38:28 Carsten Aulbert wrote:
> RANK = DEBUG ( Owner =!= "boinc")
>
> on both 7.4.4 and 7.6.0.
>
> On 7.4.4 this showed up in the logs as
>
> 05/04 13:35:50 Classad debug: Owner --> ERROR
> 05/04 13:35:50 Classad debug: Owner --> boinc
> 05/04 13:35:50 Classad debug: DEBUG(Owner =!= "boinc") --> 0
>
> on 7.6.0 the StartLog shows:
>
> 05/04/11 13:37:39 Error evaluating rank.
>
>
> Is this intentional and did I miss something in the changelogs?

Further tests:

* RANK = 0
 (or any other number) works fine

* Adding DEBUG does not change the picture

* RANK = memory
 (works and injects the memory allocated to respective slot)

* RANK = kflops
 (works as expected:
  "05/05/11 14:31:28 slot3: Rank of this fetched claim is: 1384551.000000
   05/05/11 14:31:28 slot3: State change: preempting claim based on machine
rank of fetched work.")

* RANK = IfTheElse ( Owner =!= boinc, 1, 0)
 does not work ("Error evaluating rank.")

* any variation of using RemoteOwner, prefixing them with MY, TARGET does no
work ad trigger the same error line

* Rank = (name =!= "slot2@xxxxxxxxxxxxxxxxxx" ) * 10000000
 this works as expected...

Why the heck is Owner not possible?

Cheers

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