Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] adding a little bit of random to NEGOTIATOR_POST_RANK
- Date: 29 Jan 2010 05:30:00 -0600
- From: "Todd Tannenbaum" <tannenba@xxxxxxxxxxx>
- Subject: Re: [Condor-users] adding a little bit of random to NEGOTIATOR_POST_RANK
>Then we thought coll there is
>$RANDOM_INTEGER and we could just use:
>
>isUndefined(RemoteOwner) * (KFlops * SlotID) * $RANDOM_INTEGER(1,100)
>
>However, when restarting the negotiator this will only be evaluated once. Thus
>is there a way to get this solved on this line?
I'd use the random(x) ClassAd function, which returns a random int between 0 and x, in place of the $RANDOM_INTEGER() config macro.
regards
Todd