Hi, Thanks all for your help. I tried it and it works, but not exactly the way I want it: I put: STARTD_ATTRS = W_RANK W_RANK = Mips/(LoadAvg + 0.3) into my condor_config.local and when I do: condor_status -xml gtx01 | less I see: <a n="Machine"><s>gtx01.esrf.fr</s></a> <a n="Rank"><r>0.000000000000000E+00</r></a> <a n="CpuBusy"><e>((LoadAvg - CondorLoadAvg) >= 20.000000)</e></a> <a n="COLLECTOR_HOST_STRING"><s>gtx01.esrf.fr</s></a> <a n="W_RANK"><e>Mips / (LoadAvg + 0.300000)</e></a> <a n="CondorVersion"><s>$CondorVersion: 6.7.19 May 10 2006 $</s></a> <a n="CondorPlatform"><s>$CondorPlatform: I386-LINUX_RH9 $</s></a> <a n="VirtualMachineID"><i>1</i></a> But what I want is to see a real number that has the value of the _expression_ 'Mips/(LoadAvg+0.3)'. Like: <a n="W_RANK"><r>2.345000000000000E+03</r></a> Is that possible? Wolf-Dieter Kewley, J (John) wrote: Don't worry, at least one of the Condor team was adamant that the deprecation was in the other direction when we discussed it at Condor Week this year - I suspect he wasn't alone. Dieter (nice to hear from you again), some hints regarding adding attributes are in the following Condor Week presentation: http://www.cs.wisc.edu/condor/PCW2007/presentations/kewley_Gotchas2.ppt Cheers JK -----Original Message----- From: condor-users-bounces@xxxxxxxxxxx on behalf of John Hill Sent: Tue 19/06/2007 15:22 To: Condor-Users Mail List Subject: Re: [Condor-users] howto inject a classAd attribute? Thanks for pointing that out. I admit that I haven't reread every page of the manual since we moved here from 6.6 to 6.8 :-( John Nick LeRoy wrote:On Tue June 19 2007, John Hill wrote:You also need to add the attribute to STARTD_EXPRS. For example STARTD_EXPRS = COLLECTOR_HOST_STRING, WEIGHTED_RANK Have a look in the global config file for a discussion of STARTD_EXPRS.Heh, looks like we both posted at about the same time. I'd like to note that, as the manual describes: "<SUBSYS>_EXPRS is a historic setting that functions identically to <SUBSYS>_ATTRS. Use <SUBSYS>_ATTRS." Thus, you should use STARTD_ATTRS instead of STARTD_EXPRS as we'll likely discontinue support for the STARTD_EXPRS version at some point in future. -Nick_______________________________________________ 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/ _______________________________________________ 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/ -- Dr.W-D.Klotz - Europ. Synch. Rad. Facility (ESRF) BP 220, 38043 Grenoble, CEDEX 9, France work : +33(0)4.76.88.29.21, fax: ...24.27 mobile: +33(0)6.87.38.59.27 mail : klotz@xxxxxxx or wdklotz@xxxxxxxxx |