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

Re: [Condor-users] How to view computed rank?



> Owner should be the 'Owner' attribute in the job ad (viewable
> with condor_q -l). Have you configured all of your machines
> to advertise this 'MachineOwner' attribute your expression uses?

Yes.  Finally figured out that 'Owner' is simply the login name.

But it doesn't show up in condor_status.  Is this because 'Owner' is 
only created when a job is submitted, to show ownership of the submitted
job? 
In fact nor do my locally created attributes appear.  For example, in
the 
condor_config file I have

# set up ranking:
# higher preference to job submitter's machine
SelfMachine = (10 * (Owner == $(MachineOwner)))
# Current Virtual Machine load
VMLoad = LoadAvg
# redefine keyboard busy to be within 90 minutes
KeyboardBusy = (KeyboardIdle < 1.5 * 60 * $(MINUTE))
# Don't want to use both VMs if keyboard is busy; don't use 1st VM
MachineBusy = (3 * ($(KeyboardBusy) && (VirtualMachineID == 1)))
# Machine ranking
RANK = $(SelfMachine) - $(VMLoad) - $(MachineBusy) + 5.0

but only 'RANK' appears; because it is defined by the condor system?

d:\models\Studies\planning-Condor-q5-test>condor_status -l merrit
condor_status -l merrit
MyType = "Machine"
TargetType = "Job"
Name = "vm1@xxxxxxxxxxxxxxxxxxxxxx"
Machine = "MERRIT.ad.water.ca.gov"
Rank = (10 * (Owner == "rfinch")) - LoadAvg - (3 * ((KeyboardIdle <
1.500000 * 60 * 60) && (VirtualMachineID == 1))) + 5.000000
CpuBusy = ((LoadAvg - CondorLoadAvg) >= 0.500000)
COLLECTOR_HOST_STRING = "delta-mod"
CondorVersion = "$CondorVersion: 6.6.9 Mar 10 2005 $"
CondorPlatform = "$CondorPlatform: INTEL-WINNT40 $"
VirtualMachineID = 1
ExecutableSize = 2
JobUniverse = 5
NiceUser = FALSE
ImageSize = 18716
VirtualMemory = 876551
Disk = 15497150
CondorLoadAvg = 0.010000
LoadAvg = 1.010000
KeyboardIdle = 0
ConsoleIdle = 0
Memory = 256
Cpus = 1
StartdIpAddr = "<136.200.32.182:3100>"
Arch = "INTEL"
OpSys = "WINNT51"
UidDomain = "MERRIT.ad.water.ca.gov"
FileSystemDomain = "MERRIT.ad.water.ca.gov"
Subnet = "136.200.32"
HasIOProxy = TRUE
TotalVirtualMemory = 3506204
TotalDisk = 61988600
KFlops = 689714
Mips = 2101
LastBenchmark = 1129399695
TotalLoadAvg = 1.140000
TotalCondorLoadAvg = 0.010000
ClockMin = 839
ClockDay = 6
TotalVirtualMachines = 2
HasFileTransfer = TRUE
HasMPI = TRUE
HasJICLocalConfig = TRUE
HasJICLocalStdin = TRUE
StarterAbilityList =
"HasFileTransfer,HasMPI,HasJICLocalConfig,HasJICLocalStdin"
CpuBusyTime = 170
CpuIsBusy = TRUE
State = "Claimed"
EnteredCurrentState = 1129409801
Activity = "Busy"
EnteredCurrentActivity = 1129409823
Start = TotalDisk > 5000000
Requirements = START
CurrentRank = 11.900000
RemoteUser = "rfinch@xxxxxxxxxxxxxxxxxxxxxx"
RemoteOwner = "rfinch@xxxxxxxxxxxxxxxxxxxxxx"
ClientMachine = "MERRIT.ad.water.ca.gov"
JobId = "315.4"
JobStart = 1129409823
DaemonStartTime = 1129385184
UpdateSequenceNumber = 99
MyAddress = "<136.200.32.182:3100>"
LastHeardFrom = 1129409966
UpdatesTotal = 251
UpdatesSequenced = 249
UpdatesLost = 0
UpdatesHistory = "0x00000000000000000000000000000000"


Ralph Finch, P.E.
Dept. of Water Resources
Bay-Delta Office, Room 215-13
Sacramento, CA  95814
916-653-7552
rfinch@xxxxxxxxxxxx


> -----Original Message-----
> From: condor-users-bounces@xxxxxxxxxxx
> [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Jaime Frey
> Sent: Saturday, October 15, 2005 12:53 PM
> To: Condor-Users Mail List
> Subject: Re: [Condor-users] How to view computed rank?

> Owner should be the 'Owner' attribute in the job ad (viewable
> with condor_q -l). Have you configured all of your machines
> to advertise this 'MachineOwner' attribute your expression uses?
>
> +----------------------------------+---------------------------------+
> |            Jaime Frey            |  Public Split on Whether        |
> |        jfrey@xxxxxxxxxxx         |  Bush Is a Divider              |
> |  http://www.cs.wisc.edu/~jfrey/  |         -- CNN Scrolling Banner |
> +----------------------------------+---------------------------------+
>
>
> _______________________________________________
> Condor-users mailing list
> Condor-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
>
>